Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
14dd4c918d |
+3
-2
@@ -208,8 +208,9 @@ services:
|
||||
networks:
|
||||
- backend
|
||||
healthcheck:
|
||||
# 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"]
|
||||
# /conversion only accepts POST; any HTTP response (e.g. 404/405) means the server is up.
|
||||
# wget exit 4 = network error (server down); anything else = server responded.
|
||||
test: ["CMD-SHELL", "wget -qO /dev/null http://localhost:4000/conversion 2>/dev/null; test $$? -ne 4"]
|
||||
interval: 15s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
|
||||
Reference in New Issue
Block a user