Compare commits
1 Commits
86ebdd0074
...
2e10f83346
| Author | SHA1 | Date | |
|---|---|---|---|
| 2e10f83346 |
@ -209,7 +209,7 @@ services:
|
||||
- backend
|
||||
healthcheck:
|
||||
# /health is a proper GET endpoint returning 200 "Healthy."
|
||||
# Use 127.0.0.1: the Elixir app binds IPv4 only, "localhost" resolves to ::1 first and fails.
|
||||
# Use 127.0.0.1, which is required instead of localhost for this healtcheck because of elixir/busybox bindings
|
||||
test: ["CMD", "wget", "-q", "-O", "/dev/null", "http://127.0.0.1:4000/health"]
|
||||
interval: 15s
|
||||
timeout: 5s
|
||||
|
||||
Reference in New Issue
Block a user