Skip to content

Commit

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

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

ENV COMPOSER_ALLOW_SUPERUSER=1
ENV SERVER_NAME=:80

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

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

ENV COMPOSER_ALLOW_SUPERUSER=1
ENV SERVER_NAME=:80

Expand Down

0 comments on commit eab3a60

Please sign in to comment.