Healthcheck: 127.0.0.1 (avoid IPv6 localhost refused)
This commit is contained in:
parent
c40f720ae7
commit
e170adee12
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue