Skip to content

Commit

Permalink
Added healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
jaydrogers committed Jan 8, 2025
1 parent 8b08577 commit bc07fc7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,7 @@ ENV CERTBOT_DOMAINS="" \

COPY --chmod=700 entrypoint.sh /entrypoint.sh

ENTRYPOINT ["/entrypoint.sh"]
ENTRYPOINT ["/entrypoint.sh"]

HEALTHCHECK --interval=30s --timeout=10s --start-period=60s --retries=3 \
CMD [ -f "/etc/letsencrypt/live/$(echo "$CERTBOT_DOMAINS" | cut -d',' -f1)/fullchain.pem" ]

0 comments on commit bc07fc7

Please sign in to comment.