- Fix database healthcheck!

This commit is contained in:
Arnaud G. GIBERT 2024-10-29 09:04:56 +01:00
parent 50691ad48b
commit 5c3076ba6f

View File

@ -21,7 +21,7 @@ services:
MARIADB_PASSWORD: ${MARIADB_PASSWORD} MARIADB_PASSWORD: ${MARIADB_PASSWORD}
healthcheck: healthcheck:
test: ["CMD-SHELL", "sh -c 'pg_isready -U ${POSTGRESQL_USER} -d ${POSTGRESQL_DATABASE}'"] test: ["CMD", 'mysqladmin', 'ping', '-h', 'localhost', '-u', 'root', '-p${MARIADB_ROOT_PASSWORD}' ]
interval: 10s interval: 10s
timeout: 3s timeout: 3s
retries: 3 retries: 3