changed healthcheck policy
This commit is contained in:
@@ -18,11 +18,11 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- internal
|
- internal
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
|
test: ["CMD", "mysqladmin", "ping", "-h", "localhost", "-u", "root", "-p${MYSQL_ROOT_PASSWORD}"]
|
||||||
interval: 10s
|
interval: 10s
|
||||||
timeout: 5s
|
timeout: 10s
|
||||||
retries: 3
|
retries: 5
|
||||||
start_period: 30s
|
start_period: 60s
|
||||||
|
|
||||||
wordpress:
|
wordpress:
|
||||||
image: wordpress:6.4-php8.2-apache
|
image: wordpress:6.4-php8.2-apache
|
||||||
|
|||||||
Reference in New Issue
Block a user