changed healthcheck policy

This commit is contained in:
BeauTroll
2025-12-21 09:01:30 +01:00
parent 0c99c7e9b5
commit 7c6259a82c

View File

@@ -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