mirror of
https://github.com/iv-org/infrastructure.git
synced 2024-11-26 23:20:32 +00:00
Setup Watchtower to update the documentation automatically
This commit is contained in:
parent
5da6b90e77
commit
3424f5978f
6
dia.yml
6
dia.yml
@ -73,6 +73,12 @@
|
||||
app: "docs.invidious.io"
|
||||
tags: [docs, docker]
|
||||
|
||||
- name: Deploy watchtower
|
||||
import_tasks: tasks/compose.yml
|
||||
vars:
|
||||
app: "watchtower"
|
||||
tags: [watchtower, docker]
|
||||
|
||||
- name: caddy
|
||||
import_role:
|
||||
name: caddy_ansible.caddy_ansible
|
||||
|
10
templates/compose/watchtower.yml
Normal file
10
templates/compose/watchtower.yml
Normal file
@ -0,0 +1,10 @@
|
||||
services:
|
||||
watchtower:
|
||||
container_name: watchtower
|
||||
image: containrrr/watchtower:latest
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- 'WATCHTOWER_CLEANUP=true'
|
||||
volumes:
|
||||
- '/var/run/docker.sock:/var/run/docker.sock'
|
||||
command: docsinvidiousio_docs_1
|
Loading…
Reference in New Issue
Block a user