Switch out watchtower with Ouroboros
This commit is contained in:
parent
9ff11808ce
commit
2f413b3e99
|
@ -23,7 +23,7 @@
|
||||||
- docker_registry
|
- docker_registry
|
||||||
- drone
|
- drone
|
||||||
- websites
|
- websites
|
||||||
- watchtower
|
- ouroboros
|
||||||
|
|
||||||
smtp_host: postfix
|
smtp_host: postfix
|
||||||
smtp_port: 587
|
smtp_port: 587
|
||||||
|
|
18
roles/docker/tasks/services/ouroboros.yml
Normal file
18
roles/docker/tasks/services/ouroboros.yml
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
---
|
||||||
|
- name: ouroboros container
|
||||||
|
docker_container:
|
||||||
|
name: ouroboros
|
||||||
|
image: pyouroboros/ouroboros
|
||||||
|
restart_policy: unless-stopped
|
||||||
|
networks:
|
||||||
|
- name: external_services
|
||||||
|
volumes:
|
||||||
|
- /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: "*/1 * * * *"
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
---
|
|
||||||
- name: watchtower container
|
|
||||||
docker_container:
|
|
||||||
name: watchtower
|
|
||||||
image: v2tec/watchtower
|
|
||||||
restart_policy: unless-stopped
|
|
||||||
networks:
|
|
||||||
- name: external_services
|
|
||||||
volumes:
|
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
|
||||||
- /root/.docker/config.json:/config.json
|
|
||||||
command: ["--label-enable"]
|
|
|
@ -12,7 +12,7 @@
|
||||||
LETSENCRYPT_HOST: "{{ data_coop_website.domain }}"
|
LETSENCRYPT_HOST: "{{ data_coop_website.domain }}"
|
||||||
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
|
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
|
||||||
labels:
|
labels:
|
||||||
com.centurylinklabs.watchtower.enable: "true"
|
com.ouroboros.enable: "true"
|
||||||
|
|
||||||
- name: setup cryptohagen.dk website docker container
|
- name: setup cryptohagen.dk website docker container
|
||||||
docker_container:
|
docker_container:
|
||||||
|
@ -26,4 +26,4 @@
|
||||||
LETSENCRYPT_HOST: "{{ cryptohagen_website.domain }}"
|
LETSENCRYPT_HOST: "{{ cryptohagen_website.domain }}"
|
||||||
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
|
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
|
||||||
labels:
|
labels:
|
||||||
com.centurylinklabs.watchtower.enable: "true"
|
com.ouroboros.enable: "true"
|
||||||
|
|
Loading…
Reference in a new issue