From 87a57155c30e42aec4fac269c26f4949f8ef6768 Mon Sep 17 00:00:00 2001 From: Diego Luisi Date: Sat, 8 Jun 2024 20:13:10 +0100 Subject: [PATCH 1/3] :zap: - Add Metrics --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7ac8441..91c76e4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,11 +14,10 @@ RUN curl -L https://github.com/nginxinc/nginx-prometheus-exporter/releases/downl # Copy the static application files to the Nginx document root COPY ./app /usr/share/nginx/html -# Copy the health check file +# Copy the health check files COPY health-check/liveness/index.html /usr/share/nginx/html/health-check/liveness/index.html COPY health-check/readiness/index.html /usr/share/nginx/html/health-check/readiness/index.html - # Copy the custom Nginx configuration COPY conf/nginx.conf /etc/nginx/nginx.conf COPY conf/default.conf /etc/nginx/conf.d/default.conf From 83ea09b8f28f15909cfaf125ede8458572ad9436 Mon Sep 17 00:00:00 2001 From: Diego Luisi Date: Sat, 8 Jun 2024 20:15:12 +0100 Subject: [PATCH 2/3] :zap: - Add Metrics --- health-check/readness/index.html | 1 - 1 file changed, 1 deletion(-) delete mode 100644 health-check/readness/index.html diff --git a/health-check/readness/index.html b/health-check/readness/index.html deleted file mode 100644 index ad50b53..0000000 --- a/health-check/readness/index.html +++ /dev/null @@ -1 +0,0 @@ -ready \ No newline at end of file From 3166c3c684ac06c8a1940aef6f206bf810cd5c78 Mon Sep 17 00:00:00 2001 From: Diego Luisi Date: Sat, 8 Jun 2024 20:15:56 +0100 Subject: [PATCH 3/3] :zap: - Add Metrics --- health-check/readiness/index.html | 1 + 1 file changed, 1 insertion(+) create mode 100644 health-check/readiness/index.html diff --git a/health-check/readiness/index.html b/health-check/readiness/index.html new file mode 100644 index 0000000..ad50b53 --- /dev/null +++ b/health-check/readiness/index.html @@ -0,0 +1 @@ +ready \ No newline at end of file