fix calcom postgres healthcheck

This commit is contained in:
peaklabs-dev
2024-10-14 15:05:05 +02:00
parent e8865d108e
commit abaccdf03d

View File

@@ -59,10 +59,7 @@ services:
volumes:
- calcom-postgresql-data:/var/lib/postgresql/data
healthcheck:
test:
- CMD-SHELL
- pg_isready -U ${SERVICE_USER_POSTGRES} -d ${POSTGRES_DB:-calendso}
interval: 10s
timeout: 5s
retries: 5
restart: unless-stopped
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
interval: 5s
timeout: 20s
retries: 10