Fix health check docker log error

pull/104/head
有安科技 2024-09-05 16:31:38 +08:00
parent 5e47ad9daa
commit 6d5b3f7eb7
2 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ services:
- MYSQL_MAX_CONNECTIONS=512 - MYSQL_MAX_CONNECTIONS=512
- MYSQL_ROOT_PASSWORD=Safe3.WAF - MYSQL_ROOT_PASSWORD=Safe3.WAF
healthcheck: healthcheck:
test: ["CMD", "mysqladmin", "ping", "-h", "127.0.0.1", "--silent"] test: ["CMD", "mysqladmin", "-uroot", "-pSafe3.WAF", "ping", "-h", "127.0.0.1", "--silent"]
start_period: 3s start_period: 3s
interval: 5s interval: 5s
timeout: 3s timeout: 3s

Binary file not shown.