diff --git a/docker-compose.yml b/docker-compose.yml index 50082cc..dcad7d7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -18,11 +18,11 @@ services: networks: - internal healthcheck: - test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"] + test: ["CMD", "mysqladmin", "ping", "-h", "localhost", "-u", "root", "-p${MYSQL_ROOT_PASSWORD}"] interval: 10s - timeout: 5s - retries: 3 - start_period: 30s + timeout: 10s + retries: 5 + start_period: 60s wordpress: image: wordpress:6.4-php8.2-apache