Fix postgres healthcheck command

This commit is contained in:
Pavle Portic 2022-10-30 02:17:59 +02:00
parent 1593775e0f
commit f953673648
Signed by: TheEdgeOfRage
GPG Key ID: 66AD4BA646FBC0D2
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ services:
volumes:
- postgres-data:/var/lib/postgresql/data
healthcheck:
test: pg_isready
test: [ "CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}" ]
interval: 5s
timeout: 2s
retries: 5