Fix frontend healthcheck: use 127.0.0.1 instead of localhost
All checks were successful
Build and Deploy UMBRA / build-and-deploy (push) Successful in 52s
All checks were successful
Build and Deploy UMBRA / build-and-deploy (push) Successful in 52s
Alpine resolves localhost to IPv6 [::1] but nginx only listens on IPv4, causing the healthcheck to fail with connection refused. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
3075495d1c
commit
e5869e0b19
@ -62,7 +62,7 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- frontend_net
|
- frontend_net
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "wget", "--spider", "--quiet", "http://localhost:8080/"]
|
test: ["CMD", "wget", "--spider", "--quiet", "http://127.0.0.1:8080/"]
|
||||||
interval: 15s
|
interval: 15s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user