UNCLASSIFIED

Commit b9d1de62 authored by Scott Stroud's avatar Scott Stroud
Browse files

Added HEALTHCHECK

parent 1f4ebd91
Pipeline #152339 canceled with stages
in 18 minutes and 30 seconds
...@@ -175,3 +175,12 @@ RUN chown appuser:appuser -R /etc/replicator /etc/kafka-connect-replicator ...@@ -175,3 +175,12 @@ RUN chown appuser:appuser -R /etc/replicator /etc/kafka-connect-replicator
USER appuser USER appuser
CMD ["/etc/confluent/docker/run"] CMD ["/etc/confluent/docker/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:8083/connectors || exit 1
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