- compose file fixed;

This commit is contained in:
naudachu 2023-11-20 17:08:48 +05:00
parent c873e7dbe5
commit 1087de3a46
1 changed files with 4 additions and 2 deletions

View File

@ -15,11 +15,13 @@ services:
POSTGRES_USER: "postgres"
POSTGRES_PASSWORD: "postgres"
volumes:
- db:./postgres-data:/var/lib/postgresql/data
- db-data:/var/lib/postgresql/data
ports:
- "5432:5432"
healthcheck:
test: [ "CMD", "pg_isready", "-q", "-d", "tickets", "-U", "postgres" ]
interval: 10s
timeout: 5s
retries: 5
retries: 5
volume:
db-data: