diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index b4e8244..759556b 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -6,7 +6,7 @@ services: ports: - "${MAILPIT_HTTP_PORT}:8025" healthcheck: - test: ["CMD-SHELL", "wget -qO- http://localhost:8025/ >/dev/null 2>&1 || exit 1"] + test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:8025/ >/dev/null 2>&1 || exit 1"] interval: 15s timeout: 5s retries: 10 diff --git a/docker-compose.yml b/docker-compose.yml index eb3123a..48fb91b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -100,7 +100,7 @@ services: auth: condition: service_started healthcheck: - test: ["CMD-SHELL", "wget -qO- http://localhost/ >/dev/null 2>&1 || exit 1"] + test: ["CMD-SHELL", "wget -qO- http://127.0.0.1/ >/dev/null 2>&1 || exit 1"] interval: 15s timeout: 5s retries: 10 @@ -120,7 +120,7 @@ services: volumes: - ./infra/nginx/default.conf:/etc/nginx/conf.d/default.conf:ro healthcheck: - test: ["CMD-SHELL", "wget -qO- http://localhost/nginx-health >/dev/null 2>&1 || exit 1"] + test: ["CMD-SHELL", "wget -qO- http://127.0.0.1/nginx-health >/dev/null 2>&1 || exit 1"] interval: 15s timeout: 5s retries: 10