Skip to content

Commit

Permalink
use builtin health endpoint for frankenphp images
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-sainthillier committed Dec 11, 2024
1 parent 3366d9b commit a38b984
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions 8.2-frankenphp-bookworm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ FROM dunglas/frankenphp:1-php8.2-bookworm
EXPOSE 80
WORKDIR /app

HEALTHCHECK --interval=1m --timeout=3s --start-period=5s --retries=3 \
CMD curl -f http://localhost/_health || exit 1

ENV COMPOSER_ALLOW_SUPERUSER=1
ENV SERVER_NAME=:80

Expand Down
3 changes: 0 additions & 3 deletions 8.3-frankenphp-bookworm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ FROM dunglas/frankenphp:1-php8.3-bookworm
EXPOSE 80
WORKDIR /app

HEALTHCHECK --interval=1m --timeout=3s --start-period=5s --retries=3 \
CMD curl -f http://localhost/_health || exit 1

ENV COMPOSER_ALLOW_SUPERUSER=1
ENV SERVER_NAME=:80

Expand Down

0 comments on commit a38b984

Please sign in to comment.