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
- websites
- ulovliglogning-dk
- ouroboros
- watchtower
- mailu
- portainer
- mastodon

View File

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

View File

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

View File

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

View File

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

View File

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