fix: postgres database creation

This commit is contained in:
Aymeric GUERACAGUE 2025-05-19 13:58:26 +02:00
parent 3b915384f0
commit c82596a5ea
Signed by: Superkooka
GPG Key ID: F78F2B172E894865
1 changed files with 3 additions and 1 deletions

View File

@ -28,8 +28,10 @@ services:
stat-an-postgres: stat-an-postgres:
image: postgres:17.5 image: postgres:17.5
ports:
- 5432:5432
volumes: volumes:
- ./docker/docker-entrypoint-initdb.d/:/docker-entrypoint-initdb.d:rw,cached - ./docker/postgres/docker-entrypoint-initdb.d/:/docker-entrypoint-initdb.d:rw,cached
environment: environment:
- POSTGRES_USER=postgres - POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres - POSTGRES_PASSWORD=postgres