diff --git a/Containers/nextcloud/Dockerfile b/Containers/nextcloud/Dockerfile index 8ab0f9da..e4df8f2c 100644 --- a/Containers/nextcloud/Dockerfile +++ b/Containers/nextcloud/Dockerfile @@ -279,5 +279,5 @@ USER root ENTRYPOINT ["/start.sh"] CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"] -HEALTHCHECK --start-period=60s CMD sudo -E -u www-data bash /healthcheck.sh +HEALTHCHECK CMD /healthcheck.sh LABEL com.centurylinklabs.watchtower.enable="false" diff --git a/php/containers.json b/php/containers.json index 265010ed..f6c85b0c 100644 --- a/php/containers.json +++ b/php/containers.json @@ -148,6 +148,14 @@ "display_name": "Nextcloud", "image": "nextcloud/aio-nextcloud", "init": true, + "healthcheck": { + "start_period": "0s", + "test": "/healthcheck.sh", + "interval": "30s", + "timeout": "30s", + "start_interval": "5s", + "retries": 3 + }, "expose": [ "9000", "9001"