- Fix database healthcheck!

This commit is contained in:
AlkorZ3 committed 2024-10-29 09:04:56 +01:00
1 parent 50691ad48b
commit 5c3076ba6f
1 file changed
+1 -1
+1 -1
View File
@@ -21,7 +21,7 @@ services:
MARIADB_PASSWORD: ${MARIADB_PASSWORD}
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
timeout: 3s
retries: 3