Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
86ebdd0074 |
+2
-1
@@ -208,7 +208,8 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- backend
|
- backend
|
||||||
healthcheck:
|
healthcheck:
|
||||||
# Use 127.0.0.1, which is required instead of localhost for this healtcheck because of elixir/busybox bindings
|
# /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.
|
||||||
test: ["CMD", "wget", "-q", "-O", "/dev/null", "http://127.0.0.1:4000/health"]
|
test: ["CMD", "wget", "-q", "-O", "/dev/null", "http://127.0.0.1:4000/health"]
|
||||||
interval: 15s
|
interval: 15s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
|
|||||||
Reference in New Issue
Block a user