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

@@ -25,7 +25,7 @@ services:
mysql:
condition: service_healthy
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3000"]
test: ["CMD", "curl", "-f", "http://127.0.0.1:3000"]
interval: 2s
timeout: 10s
retries: 15
@@ -40,7 +40,7 @@ services:
- MYSQL_DATABASE=${MYSQL_DATABASE}
- MYSQL_ROOT_PASSWORD=${SERVICE_PASSWORD_MYSQLROOT}
healthcheck:
test: ["CMD", "mysqladmin", "ping", "-h", "localhost"]
test: ["CMD", "mysqladmin", "ping", "-h", "127.0.0.1"]
interval: 5s
timeout: 20s
retries: 10