[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 :/
This commit is contained in:
Shish 2023-12-24 22:49:50 +00:00
parent be353450d8
commit cf9d6ebfa0

View file

@ -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