update healthcheck using the default sh

This commit is contained in:
2026-06-04 22:08:20 +07:00
parent b31ccb7a7f
commit 902bce445b
+5 -4
View File
@@ -37,10 +37,11 @@ services:
MYSQL_PASSWORD: ${DB_PASSWORD} MYSQL_PASSWORD: ${DB_PASSWORD}
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASSWORD} MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASSWORD}
healthcheck: healthcheck:
test: ["CMD", "mysqladmin", "ping", "-h", "localhost"] test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
interval: 5s interval: 10s
timeout: 3s timeout: 5s
retries: 10 retries: 5
start_period: 60s
volumes: volumes:
app-public: app-public: