fix: postgres docker volume

This commit is contained in:
Aymeric GUERACAGUE 2025-12-21 01:31:51 +01:00
parent 1e2679395f
commit c6b0d91041
Signed by: Superkooka
GPG Key ID: F78F2B172E894865
1 changed files with 4 additions and 0 deletions

View File

@ -38,9 +38,13 @@ services:
postgres: postgres:
image: postgres:18.1 image: postgres:18.1
volumes: volumes:
- postgres_data:/var/lib/postgresql
- ./docker/postgres/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d - ./docker/postgres/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
environment: environment:
- POSTGRES_USER=postgres - POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres - POSTGRES_PASSWORD=postgres
ports: ports:
- '5432:5432' - '5432:5432'
volumes:
postgres_data: