diff --git a/infra/docker-compose.yml b/infra/docker-compose.yml index 7a51c3f..4dceacd 100644 --- a/infra/docker-compose.yml +++ b/infra/docker-compose.yml @@ -445,7 +445,8 @@ services: ports: - "8140:80" healthcheck: - test: ["CMD-SHELL", "wget -q -O /dev/null http://localhost/ || exit 1"] + # 127.0.0.1, not localhost: nginx listens on IPv4 only, but localhost resolves to ::1 first. + test: ["CMD-SHELL", "wget -q -O /dev/null http://127.0.0.1/ || exit 1"] interval: 5s timeout: 3s retries: 5