Switch from ouroboros to watchtower. Close #82.

This commit is contained in:
Víðir Valberg Guðmundsson 2022-07-23 15:42:51 +02:00
parent 371237b9f8
commit 7b60ae1c28
6 changed files with 15 additions and 17 deletions

View file

@ -24,7 +24,7 @@
- drone - drone
- websites - websites
- ulovliglogning-dk - ulovliglogning-dk
- ouroboros - watchtower
- mailu - mailu
- portainer - portainer
- mastodon - mastodon

View file

@ -22,6 +22,6 @@
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}" LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
PGID: "999" PGID: "999"
labels: labels:
com.ouroboros.enable: "true" com.centurylinklabs.watchtower.enable: "true"

View file

@ -43,7 +43,7 @@
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}" LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
TZ: "Europe/Copenhagen" TZ: "Europe/Copenhagen"
labels: labels:
com.ouroboros.enable: "true" com.centurylinklabs.watchtower.enable: "true"
networks: networks:
external_services: external_services:

View file

@ -10,4 +10,4 @@
LETSENCRYPT_HOST: "{{ ulovliglogning_website.domains|join(',') }}" LETSENCRYPT_HOST: "{{ ulovliglogning_website.domains|join(',') }}"
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}" LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
labels: labels:
com.ouroboros.enable: "true" com.centurylinklabs.watchtower.enable: "true"

View file

@ -1,8 +1,8 @@
--- ---
- name: ouroboros container - name: watchtower container
docker_container: docker_container:
name: ouroboros name: watchtower
image: pyouroboros/ouroboros image: containrrr/watchtower:1.4.0
restart_policy: unless-stopped restart_policy: unless-stopped
networks: networks:
- name: external_services - name: external_services
@ -10,9 +10,6 @@
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
- /root/.docker/config.json:/root/.docker/config.json - /root/.docker/config.json:/root/.docker/config.json
env: env:
LABEL_ENABLE: "true" WATCHTOWER_LABEL_ENABLE: "true"
LABELS_ONLY: "true" WATCHTOWER_POLL_INTERVAL: "600"
CLEANUP: "true"
LATEST: "true"
CRON: "*/10 * * * *"

View file

@ -12,7 +12,8 @@
LETSENCRYPT_HOST: "{{ data_coop_website.domains|join(',') }}" LETSENCRYPT_HOST: "{{ data_coop_website.domains|join(',') }}"
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}" LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
labels: labels:
com.ouroboros.enable: "true" com.centurylinklabs.watchtower.enable: "true"
- name: setup new data.coop website using hugo - name: setup new data.coop website using hugo
docker_container: docker_container:
@ -26,7 +27,7 @@
LETSENCRYPT_HOST: "new.{{ data_coop_website.domains|join(',') }}" LETSENCRYPT_HOST: "new.{{ data_coop_website.domains|join(',') }}"
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}" LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
labels: labels:
com.ouroboros.enable: "true" com.centurylinklabs.watchtower.enable: "true"
- name: setup new-new data.coop website using unipi - name: setup new-new data.coop website using unipi
docker_container: docker_container:
@ -47,7 +48,7 @@
devices: devices:
- "/dev/net/tun" - "/dev/net/tun"
labels: labels:
com.ouroboros.enable: "true" com.centurylinklabs.watchtower.enable: "true"
- name: setup cryptohagen.dk website docker container - name: setup cryptohagen.dk website docker container
@ -62,7 +63,7 @@
LETSENCRYPT_HOST: "{{ cryptohagen_website.domains|join(',') }}" LETSENCRYPT_HOST: "{{ cryptohagen_website.domains|join(',') }}"
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}" LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
labels: labels:
com.ouroboros.enable: "true" com.centurylinklabs.watchtower.enable: "true"
- name: setup cryptoaarhus.dk website docker container - name: setup cryptoaarhus.dk website docker container
docker_container: docker_container:
@ -76,4 +77,4 @@
LETSENCRYPT_HOST: "{{ cryptoaarhus_website.domains|join(',') }}" LETSENCRYPT_HOST: "{{ cryptoaarhus_website.domains|join(',') }}"
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}" LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
labels: labels:
com.ouroboros.enable: "true" com.centurylinklabs.watchtower.enable: "true"