Healthcheck: 127.0.0.1 (avoid IPv6 localhost refused)

This commit is contained in:
jtricerolph 2026-07-01 14:42:30 +00:00
parent c40f720ae7
commit e170adee12

View file

@ -9,7 +9,7 @@ services:
- APP_SLUG=noticeboard - APP_SLUG=noticeboard
- OFFICE_IP_CHECK=${OFFICE_IP_CHECK:-disabled} - OFFICE_IP_CHECK=${OFFICE_IP_CHECK:-disabled}
healthcheck: healthcheck:
test: ["CMD-SHELL", "wget -qO- http://localhost:3001/health || exit 1"] test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:3001/health || exit 1"]
interval: 10s interval: 10s
retries: 5 retries: 5
start_period: 15s start_period: 15s