Merge pull request #1307 from DrWarpMan/db-healthcheck-fix

fix healthcheck postgres user
This commit is contained in:
Fabien Potencier
2024-04-20 05:29:06 -04:00
committed by GitHub
+1 -1
View File
@@ -29,7 +29,7 @@
" POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-!ChangeMe!}",
" POSTGRES_USER: ${POSTGRES_USER:-app}",
" healthcheck:",
" test: [\"CMD\", \"pg_isready\"]",
" test: [\"CMD\", \"pg_isready -U ${POSTGRES_USER:-app}\"]",
" timeout: 5s",
" retries: 5",
" start_period: 60s",