UNCLASSIFIED

Commit 1c2f7106 authored by Scott Stroud's avatar Scott Stroud
Browse files

healthcheck update

parent 3f677bfc
Pipeline #109012 passed with stages
in 10 minutes and 7 seconds
......@@ -38,4 +38,13 @@ RUN yum install -y openssl findutils && yum clean all && mkdir -p "${CONTROL_CEN
&& chmod -R ag+w "${CONTROL_CENTER_DATA_DIR}" "${CONTROL_CENTER_CONFIG_DIR}" "/opt"
CMD ["/opt/caas/bin/run"]
# Polling period : 5 seconds
# Timeout period :10 seconds (if the polling does not return within this time, treat as a failed poll)
# Start-up period : 2 minutes (during which failures are not counted as failures)
# Retry period : 8 minutes (after which container is deemed unhealthy)
# All settings can be overriden at run-time in Docker/Docker Compose.
HEALTHCHECK --start-period=120s --interval=5s --timeout=10s --retries=96 \
CMD curl --fail http://localhost:9021/ || exit 1
USER 1001
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment