update healthcheck using the default sh
This commit is contained in:
+5
-4
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user