From 87bfab307dc209f36aad2dbe64ceb79e5affa87d Mon Sep 17 00:00:00 2001 From: Anthony Mineo Date: Mon, 31 Aug 2020 16:38:28 -0400 Subject: [PATCH] Set API Healthcheck --- build/api/Dockerfile | 2 +- docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/api/Dockerfile b/build/api/Dockerfile index e15c45c..4e97e3a 100644 --- a/build/api/Dockerfile +++ b/build/api/Dockerfile @@ -65,6 +65,6 @@ COPY ./build/api/entrypoint.sh /entrypoint.sh EXPOSE 8080 HEALTHCHECK --interval=20s --timeout=30s --start-period=5s --retries=5 \ - CMD curl -f -k https://localhost:8443/healthz || exit 1 + CMD curl -f -k http://localhost:8080/ || exit 1 ENTRYPOINT [ "/entrypoint.sh" ] \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index b106f77..96fca0c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -44,7 +44,7 @@ services: replicas: 1 api: - image: "amineo/t2-stats-api:v0.0.1" + image: "amineo/t2-stats-api:v0.0.2" build: context: . dockerfile: ./build/api/Dockerfile