Skip to content

Commit

Permalink
fix healtcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglas committed Sep 14, 2023
1 parent 6bc597c commit 7e87b94
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 @@ -111,7 +111,7 @@ WORKDIR /srv/app
ADD --chmod=500 https://caddyserver.com/api/download?os=linux&arch=$TARGETARCH&p=github.com/dunglas/mercure/caddy&p=github.com/dunglas/vulcain/caddy /usr/bin/caddy

COPY --link docker/caddy/Caddyfile /etc/caddy/Caddyfile
HEALTHCHECK CMD curl -f https://localhost/healthz || exit 1
HEALTHCHECK CMD wget --no-verbose --tries=1 --spider https://localhost/healthz || exit 1

# Prod Caddy image
FROM caddy_base AS caddy_prod
Expand Down

0 comments on commit 7e87b94

Please sign in to comment.