mirror of
https://github.com/zitadel/zitadel.git
synced 2025-11-05 04:14:01 +00:00
chore(docker-integration-postgres): adding volume to internal/integration/config/docker-compose.yaml (#10079)
# Which Problems Are Solved
This change makes it easier to delete the integration database
# How the Problems Are Solved
Gives the integration database a volume you can address via name
`docker volume rm config_zitadel_integration_db`
(cherry picked from commit 2718d345b8)
This commit is contained in:
2
Makefile
2
Makefile
@@ -120,7 +120,7 @@ core_integration_db_up:
|
|||||||
|
|
||||||
.PHONY: core_integration_db_down
|
.PHONY: core_integration_db_down
|
||||||
core_integration_db_down:
|
core_integration_db_down:
|
||||||
docker compose -f internal/integration/config/docker-compose.yaml down
|
docker compose -f internal/integration/config/docker-compose.yaml down -v
|
||||||
|
|
||||||
.PHONY: core_integration_setup
|
.PHONY: core_integration_setup
|
||||||
core_integration_setup:
|
core_integration_setup:
|
||||||
|
|||||||
@@ -18,9 +18,15 @@ services:
|
|||||||
start_period: '20s'
|
start_period: '20s'
|
||||||
ports:
|
ports:
|
||||||
- 5432:5432
|
- 5432:5432
|
||||||
|
volumes:
|
||||||
|
- 'zitadel_integration_db:/var/lib/postgresql/data'
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
restart: 'always'
|
restart: 'always'
|
||||||
image: 'redis:latest'
|
image: 'redis:latest'
|
||||||
ports:
|
ports:
|
||||||
- 6379:6379
|
- 6379:6379
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
zitadel_integration_db:
|
||||||
|
driver: local
|
||||||
|
|||||||
Reference in New Issue
Block a user