Skip to content

Commit

Permalink
fix(health): docker healthcheck has 3 retries
Browse files Browse the repository at this point in the history
  • Loading branch information
qdm12 committed May 10, 2024
1 parent 6042a9e commit 1e25372
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ ENV VPN_SERVICE_PROVIDER=pia \
PGID=
ENTRYPOINT ["/gluetun-entrypoint"]
EXPOSE 8000/tcp 8888/tcp 8388/tcp 8388/udp
HEALTHCHECK --interval=5s --timeout=5s --start-period=10s --retries=1 CMD /gluetun-entrypoint healthcheck
HEALTHCHECK --interval=5s --timeout=5s --start-period=10s --retries=3 CMD /gluetun-entrypoint healthcheck
ARG TARGETPLATFORM
RUN apk add --no-cache --update -l wget && \
apk add --no-cache --update -X "https://dl-cdn.alpinelinux.org/alpine/v3.17/main" openvpn\~2.5 && \
Expand Down

0 comments on commit 1e25372

Please sign in to comment.