Skip to content

Commit

Permalink
Merge pull request #1684 from TheLastProject/feature/healthcheck
Browse files Browse the repository at this point in the history
Add healthcheck
  • Loading branch information
skjnldsv authored Apr 14, 2022
2 parents 4bb8d00 + 8355426 commit f9d8052
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile-alpine.template
Original file line number Diff line number Diff line change
Expand Up @@ -129,5 +129,6 @@ RUN set -ex; \
COPY *.sh upgrade.exclude /
COPY config/* /usr/src/nextcloud/config/

HEALTHCHECK CMD ["curl", "--fail", "http://localhost/status.php"]
ENTRYPOINT ["/entrypoint.sh"]
CMD ["%%CMD%%"]
1 change: 1 addition & 0 deletions Dockerfile-debian.template
Original file line number Diff line number Diff line change
Expand Up @@ -147,5 +147,6 @@ RUN set -ex; \
COPY *.sh upgrade.exclude /
COPY config/* /usr/src/nextcloud/config/

HEALTHCHECK CMD ["curl", "--fail", "http://localhost/status.php"]
ENTRYPOINT ["/entrypoint.sh"]
CMD ["%%CMD%%"]

0 comments on commit f9d8052

Please sign in to comment.