Add watchtower to ansible
This commit is contained in:
parent
753682aa86
commit
5908976abc
10 changed files with 64 additions and 49 deletions
|
@ -16,11 +16,8 @@ svc:
|
|||
compose:
|
||||
watchtower: true
|
||||
image: joohoi/acme-dns
|
||||
file:
|
||||
services:
|
||||
app:
|
||||
ports:
|
||||
- "53:53"
|
||||
- "53:53/udp"
|
||||
volumes:
|
||||
- ./config:/etc/acme-dns:ro
|
||||
ports:
|
||||
- "53:53"
|
||||
- "53:53/udp"
|
||||
volumes:
|
||||
- ./config:/etc/acme-dns:ro
|
||||
|
|
|
@ -78,16 +78,14 @@ compose:
|
|||
watchtower: true
|
||||
image: gitea/gitea:1.19
|
||||
env: true
|
||||
volumes:
|
||||
- data:/data
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
ports:
|
||||
- "{{ svc.ssh_port }}:{{ svc.ssh_port }}"
|
||||
- "{{ svc.ssh_port_alt }}:{{ svc.ssh_port }}"
|
||||
file:
|
||||
services:
|
||||
app:
|
||||
volumes:
|
||||
- data:/data
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
ports:
|
||||
- "{{ svc.ssh_port }}:{{ svc.ssh_port }}"
|
||||
- "{{ svc.ssh_port_alt }}:{{ svc.ssh_port }}"
|
||||
volumes:
|
||||
data:
|
||||
|
||||
|
|
Reference in a new issue