docker-compose.yml upd && minor front fix

This commit is contained in:
2024-03-28 11:05:30 +03:00
parent 425b109126
commit 191a7b5f30
2 changed files with 3 additions and 1 deletions

View File

@ -29,6 +29,7 @@ services:
- ./static:/static
depends_on:
- backend
- frontend
ports:
- "80:80"
postgres:
@ -40,7 +41,7 @@ services:
- path: ./env/postgres.env
required: true
healthcheck:
test: ["CMD-SHELL", "pg_isready -d db --user user"]
test: ["CMD-SHELL", "pg_isready -d ${POSTGRES_DB} --user ${POSTGRES_USER}"]
interval: 2s
timeout: 2s
retries: 5