From 5d90dd1a9ff45010178688018e21ee2b7c4a1c62 Mon Sep 17 00:00:00 2001 From: Georgiy Sitnikov Date: Sun, 2 Jun 2024 22:08:58 +0200 Subject: [PATCH] Add health endpoint instead of root --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 87c1dd5..9b21828 100644 --- a/Dockerfile +++ b/Dockerfile @@ -47,7 +47,7 @@ HEALTHCHECK --interval=30s \ --timeout=5s \ --start-period=5s \ --retries=3 \ - CMD [ "/usr/bin/wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:7745" ] + CMD [ "/usr/bin/wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:7745/api/v1/status" ] WORKDIR /app VOLUME [ "/data" ]