Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cc55720167 |
+2
-2
@@ -64,8 +64,8 @@ USER dnswatcher
|
|||||||
|
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
# busybox wget (already in alpine) probes the health endpoint every 10
|
# busybox wget (already in alpine) probes the health endpoint. The first
|
||||||
# seconds, so the container is healthy well before upaas reads its health
|
# probe runs one interval after start. upaas reads the container's health
|
||||||
# 60 seconds after a deploy and fails the deploy unless it is healthy.
|
# 60 seconds after a deploy and fails the deploy unless it is healthy.
|
||||||
HEALTHCHECK --interval=10s --timeout=5s --start-period=10s --retries=3 \
|
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
|
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