From cf9d6ebfa0bef1f891a105363b652d56e6f1ab42 Mon Sep 17 00:00:00 2001 From: Shish Date: Sun, 24 Dec 2023 22:49:50 +0000 Subject: [PATCH] [docker] disable healthcheck traefik won't send traffic to containers that are "starting" (pre first health check) - it insists on waiting for the full minute until after the once-per-minute check has passed :/ --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2cc0f5f8..25b835ff 100644 --- a/Dockerfile +++ b/Dockerfile @@ -52,7 +52,7 @@ EXPOSE 8000 # Actually run shimmie FROM base AS run EXPOSE 8000 -HEALTHCHECK --interval=1m --timeout=3s CMD curl --fail http://127.0.0.1:8000/ || exit 1 +# HEALTHCHECK --interval=1m --timeout=3s CMD curl --fail http://127.0.0.1:8000/ || exit 1 ENV UID=1000 GID=1000 UPLOAD_MAX_FILESIZE=50M COPY --from=build /app /app WORKDIR /app