This commit is contained in:
echo 2026-02-23 06:21:45 +01:00
parent 3b827a90ac
commit 57ae0bb3b5

View File

@ -23,10 +23,11 @@ services:
volumes: volumes:
- placebo-postgres-backend-data:/var/lib/postgresql/data - placebo-postgres-backend-data:/var/lib/postgresql/data
healthcheck: healthcheck:
test: ['CMD-SHELL', 'pg_isready -U placebo_user -d placebo_backend_db'] test: ['CMD-SHELL', 'pg_isready']
interval: 10s interval: 5s
timeout: 5s timeout: 5s
retries: 5 retries: 10
start_period: 30s
networks: networks:
- placebo-internal - placebo-internal
@ -41,10 +42,11 @@ services:
volumes: volumes:
- placebo-postgres-cms-data:/var/lib/postgresql/data - placebo-postgres-cms-data:/var/lib/postgresql/data
healthcheck: healthcheck:
test: ['CMD-SHELL', 'pg_isready -U placebo_user -d placebo_cms_db'] test: ['CMD-SHELL', 'pg_isready']
interval: 10s interval: 5s
timeout: 5s timeout: 5s
retries: 5 retries: 10
start_period: 30s
networks: networks:
- placebo-internal - placebo-internal