fix: hc from localhost to 127.0.0.1

This commit is contained in:
Andras Bacsai
2024-05-17 10:11:55 +02:00
parent 70a4b7c863
commit e2ba5abe76
64 changed files with 138 additions and 138 deletions

View File

@@ -17,7 +17,7 @@ services:
depends_on:
- mysql
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost"]
test: ["CMD", "curl", "-f", "http://127.0.0.1"]
interval: 2s
timeout: 10s
retries: 10
@@ -31,7 +31,7 @@ services:
- MYSQL_USER=$SERVICE_USER_WORDPRESS
- MYSQL_PASSWORD=$SERVICE_PASSWORD_WORDPRESS
healthcheck:
test: ["CMD", "mysqladmin", "ping", "-h", "localhost"]
test: ["CMD", "mysqladmin", "ping", "-h", "127.0.0.1"]
interval: 5s
timeout: 20s
retries: 10