Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fbc021e21b |
+2
-2
@@ -64,8 +64,8 @@ USER dnswatcher
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
# busybox wget (already in alpine) probes the health endpoint. The first
|
||||
# probe runs one interval after start. upaas reads the container's health
|
||||
# busybox wget (already in alpine) probes the health endpoint every 10
|
||||
# seconds, so the container is healthy well before upaas reads its health
|
||||
# 60 seconds after a deploy and fails the deploy unless it is healthy.
|
||||
HEALTHCHECK --interval=10s --timeout=5s --start-period=10s --retries=3 \
|
||||
CMD wget -q -O /dev/null "http://127.0.0.1:${PORT:-8080}/.well-known/healthcheck" || exit 1
|
||||
|
||||
Reference in New Issue
Block a user