add watchtower for easy deployment of website

This commit is contained in:
Pierre de Lacroix 2025-11-14 16:43:26 +01:00
parent c6cd90af67
commit f7e795b3ef
Signed by: lateralus23
GPG key ID: C20C17EC0D98B2DF

View file

@ -8,6 +8,15 @@ services:
caddy_0.reverse_proxy: "{{upstreams 80}}" caddy_0.reverse_proxy: "{{upstreams 80}}"
caddy_1: camp.interhacker.space caddy_1: camp.interhacker.space
caddy_1.redir: https://2026.camp.interhacker.space caddy_1.redir: https://2026.camp.interhacker.space
com.centurylinklabs.watchtower.enable: true
# we use watchtower to get around portainer business-version-only limitation
# on automatic pulls
watchtower:
image: containrrr/watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: --label-enable --interval 300
networks: networks:
proxy: proxy: