From 5dc68f178dbc6f3e73e0afffbfdfaacec468b7d1 Mon Sep 17 00:00:00 2001 From: Jason Collins Date: Wed, 11 Sep 2024 10:33:26 -0700 Subject: [PATCH] APIGOV-28789 - update docker health checks --- discovery/docker/Dockerfile | 2 +- traceability/docker/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/discovery/docker/Dockerfile b/discovery/docker/Dockerfile index 0e865b9..eac75f2 100644 --- a/discovery/docker/Dockerfile +++ b/discovery/docker/Dockerfile @@ -58,6 +58,6 @@ USER ${APP_USER} VOLUME ["/keys", "/specs"] -HEALTHCHECK --retries=1 CMD /apigee_discovery_agent --status || exit 1 +HEALTHCHECK --retries=10 --start-period=30s --start-interval=30s CMD /apigee_discovery_agent --status || exit 1 ENTRYPOINT ["/apigee_discovery_agent"] \ No newline at end of file diff --git a/traceability/docker/Dockerfile b/traceability/docker/Dockerfile index 19e9c4c..27864f9 100644 --- a/traceability/docker/Dockerfile +++ b/traceability/docker/Dockerfile @@ -63,6 +63,6 @@ USER ${APP_USER} VOLUME ["/keys", "/data"] -HEALTHCHECK --retries=1 CMD /apigee_traceability_agent --status || exit 1 +HEALTHCHECK --retries=10 --start-period=30s --start-interval=30s CMD /apigee_traceability_agent --status || exit 1 ENTRYPOINT ["/apigee_traceability_agent"] \ No newline at end of file