docs: postgres healthcheck failing (#7692)

This commit is contained in:
thariton 2024-04-08 16:08:06 +02:00 committed by GitHub
parent a096b7e5d4
commit 3bbf38acc5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -30,10 +30,11 @@ services:
environment: environment:
- POSTGRES_USER=postgres - POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres - POSTGRES_PASSWORD=postgres
- POSTGRES_DB=zitadel
networks: networks:
- 'zitadel' - 'zitadel'
healthcheck: healthcheck:
test: ["CMD-SHELL", "pg_isready", "-d", "db_prod"] test: ["CMD-SHELL", "pg_isready", "-d", "zitadel", "-U", "postgres"]
interval: '10s' interval: '10s'
timeout: '30s' timeout: '30s'
retries: 5 retries: 5