mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-01-27 07:58:44 +08:00
Disallow Watchtower to update AIO Container (exept Mastercontainer)
See: https://containrrr.dev/watchtower/container-selection/#monitor_only Signed-off-by: Zoey <zoey@z0ey.de>
This commit is contained in:
parent
9d6690e11c
commit
f5616cd618
13 changed files with 19 additions and 6 deletions
|
@ -82,3 +82,4 @@ ENTRYPOINT ["start.sh"]
|
|||
CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"]
|
||||
|
||||
HEALTHCHECK CMD healthcheck.sh
|
||||
LABEL com.centurylinklabs.watchtower.monitor-only="true"
|
|
@ -18,4 +18,5 @@ RUN chmod +x /usr/bin/start.sh; \
|
|||
chmod +x /backupscript.sh
|
||||
|
||||
USER root
|
||||
ENTRYPOINT ["start.sh"]
|
||||
ENTRYPOINT ["start.sh"]
|
||||
LABEL com.centurylinklabs.watchtower.monitor-only="true"
|
|
@ -4,3 +4,4 @@ FROM clamav/clamav:0.105.1-7
|
|||
RUN apk add --no-cache tzdata
|
||||
COPY clamav.conf /tmp/
|
||||
RUN cat /tmp/clamav.conf >> /etc/clamav/clamd.conf
|
||||
LABEL com.centurylinklabs.watchtower.monitor-only="true"
|
|
@ -16,3 +16,4 @@ RUN set -ex; \
|
|||
USER 104
|
||||
|
||||
HEALTHCHECK CMD nc -z localhost 9980 || exit 1
|
||||
LABEL com.centurylinklabs.watchtower.monitor-only="true"
|
|
@ -15,4 +15,5 @@ USER www-data
|
|||
RUN mkdir -p /var/www/domaincheck/
|
||||
ENTRYPOINT ["/start.sh"]
|
||||
|
||||
HEALTHCHECK CMD nc -z localhost $APACHE_PORT || exit 1
|
||||
HEALTHCHECK CMD nc -z localhost $APACHE_PORT || exit 1
|
||||
LABEL com.centurylinklabs.watchtower.monitor-only="true"
|
|
@ -12,3 +12,4 @@ RUN set -ex; \
|
|||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
HEALTHCHECK CMD nc -z localhost 9200 || exit 1
|
||||
LABEL com.centurylinklabs.watchtower.monitor-only="true"
|
|
@ -13,4 +13,5 @@ USER nobody
|
|||
|
||||
ENTRYPOINT ["/usr/local/bin/imaginary", "-return-size"]
|
||||
|
||||
HEALTHCHECK CMD nc -z localhost 9000 || exit 1
|
||||
HEALTHCHECK CMD nc -z localhost 9000 || exit 1
|
||||
LABEL com.centurylinklabs.watchtower.monitor-only="true"
|
|
@ -267,3 +267,4 @@ USER root
|
|||
ENTRYPOINT ["/start.sh"]
|
||||
|
||||
HEALTHCHECK CMD sudo -E -u www-data bash /healthcheck.sh
|
||||
LABEL com.centurylinklabs.watchtower.monitor-only="true"
|
|
@ -1,4 +1,5 @@
|
|||
# From https://github.com/ONLYOFFICE/Docker-DocumentServer/blob/master/Dockerfile
|
||||
FROM onlyoffice/documentserver:7.2.2.56
|
||||
|
||||
HEALTHCHECK CMD nc -z localhost 80 || exit 1
|
||||
HEALTHCHECK CMD nc -z localhost 80 || exit 1
|
||||
LABEL com.centurylinklabs.watchtower.monitor-only="true"
|
|
@ -36,3 +36,4 @@ USER postgres
|
|||
ENTRYPOINT ["start.sh"]
|
||||
|
||||
HEALTHCHECK CMD healthcheck.sh
|
||||
LABEL com.centurylinklabs.watchtower.monitor-only="true"
|
|
@ -12,4 +12,5 @@ RUN echo "root:$(openssl rand -base64 12)" | chpasswd
|
|||
USER redis
|
||||
ENTRYPOINT ["start.sh"]
|
||||
|
||||
HEALTHCHECK CMD redis-cli -a $REDIS_HOST_PASSWORD PING || exit 1
|
||||
HEALTHCHECK CMD redis-cli -a $REDIS_HOST_PASSWORD PING || exit 1
|
||||
LABEL com.centurylinklabs.watchtower.monitor-only="true"
|
|
@ -71,4 +71,5 @@ USER talk
|
|||
ENTRYPOINT ["start.sh"]
|
||||
CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"]
|
||||
|
||||
HEALTHCHECK CMD (nc -z localhost 8081 && nc -z localhost 8188 && nc -z localhost 4222 && nc -z localhost $TALK_PORT) || exit 1
|
||||
HEALTHCHECK CMD (nc -z localhost 8081 && nc -z localhost 8188 && nc -z localhost 4222 && nc -z localhost $TALK_PORT) || exit 1
|
||||
LABEL com.centurylinklabs.watchtower.monitor-only="true"
|
|
@ -11,3 +11,4 @@ RUN chmod +x /start.sh
|
|||
|
||||
USER root
|
||||
ENTRYPOINT ["/start.sh"]
|
||||
LABEL com.centurylinklabs.watchtower.monitor-only="true"
|
Loading…
Reference in a new issue