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:
Iraq
2025-08-26 09:55:30 +02:00
committed by Livio Spring
parent 1f6a1b3061
commit e06df6e161
2 changed files with 7 additions and 1 deletions

View File

@@ -120,7 +120,7 @@ core_integration_db_up:
.PHONY: 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
core_integration_setup:

View File

@@ -18,9 +18,15 @@ services:
start_period: '20s'
ports:
- 5432:5432
volumes:
- 'zitadel_integration_db:/var/lib/postgresql/data'
cache:
restart: 'always'
image: 'redis:latest'
ports:
- 6379:6379
volumes:
zitadel_integration_db:
driver: local