1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-19 05:09:43 +02:00

build: 💚 make health check based on env

This commit is contained in:
HannesOberreiter 2025-05-23 10:08:39 +02:00
parent 3308f66905
commit 1a004ca9b1

View file

@ -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