mirror of
https://github.com/symfony/recipes.git
synced 2026-09-20 19:46:52 +03:00
Merge pull request #1307 from DrWarpMan/db-healthcheck-fix
fix healthcheck postgres user
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user