Merge pull request #1684 from TheLastProject/feature/healthcheck

Add healthcheck
This commit is contained in:
John Molakvoæ 2022-04-14 09:05:53 +02:00 committed by GitHub
commit f9d8052b48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -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%%"]

View File

@ -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%%"]