mirror of
https://github.com/plankanban/planka.git
synced 2025-07-18 20:59:44 +02:00
build: 💚 make health check based on env
This commit is contained in:
parent
3308f66905
commit
1a004ca9b1
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ services:
|
||||||
test:
|
test:
|
||||||
[
|
[
|
||||||
"CMD-SHELL",
|
"CMD-SHELL",
|
||||||
"pg_isready -U postgres -d planka && psql -U postgres -d planka -c 'SELECT 1'",
|
"pg_isready -U ${POSTGRES_USER:-postgres} -d ${POSTGRES_DB:-planka} && psql -U ${POSTGRES_USER:-postgres} -d ${POSTGRES_DB:-planka} -c 'SELECT 1'",
|
||||||
]
|
]
|
||||||
interval: 3s
|
interval: 3s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue