Skip to content

Commit

Permalink
fix(nginx): docker HEALTHCHECK
Browse files Browse the repository at this point in the history
  • Loading branch information
alimd committed Jan 24, 2024
1 parent 76b2c1f commit 34f61c0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/nginx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ FROM ghcr.io/alwatr/nginx-json:2.4.1

LABEL org.opencontainers.image.base.name="ghcr.io/alwatr/nginx-json:2.4.1"

HEALTHCHECK --interval=30s --timeout=3s --start-period=1s --retries=3 CMD curl -fso /dev/null --header 'authorization: Alwatr healthcheck:healthcheck' http://localhost/server-info || exit 1

RUN rm -fv /etc/nginx/templates/location.d/90-home-json.conf.template
COPY etc/nginx/ /etc/nginx/
COPY default-data/ /default-data/
Expand Down

0 comments on commit 34f61c0

Please sign in to comment.