Healthcheck: 127.0.0.1 (avoid IPv6 localhost refused)
This commit is contained in:
parent
19f13cf412
commit
ff745b3ec7
1 changed files with 1 additions and 1 deletions
|
|
@ -7,6 +7,6 @@ services:
|
||||||
- "${FRONTEND_PORT:-3000}:80"
|
- "${FRONTEND_PORT:-3000}:80"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "wget -qO- http://localhost/health 2>/dev/null || wget -qO- http://localhost/ > /dev/null && echo ok || exit 1"]
|
test: ["CMD-SHELL", "wget -qO- http://127.0.0.1/health 2>/dev/null || wget -qO- http://127.0.0.1/ > /dev/null && echo ok || exit 1"]
|
||||||
interval: 15s
|
interval: 15s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue