50829af421
- Fix cert resolver name (cloudflare -> letsencrypt) - Fix volume paths (/mnt/nas -> /data) - Add missing custom port mappings - Add privileged/capability flags - Add 8 new roles: portainer, n8n, nodered, influxdb, guacamole, watchtower, rtlamr2mqtt, telegraf - Fix Traefik template (ports, ACME path, wildcard cert) - Add extra volume mounts for media services
15 lines
419 B
YAML
15 lines
419 B
YAML
---
|
|
- name: Create watchtower compose directory
|
|
file:
|
|
path: "{{ watchtower_compose_dir }}"
|
|
state: directory
|
|
- name: Deploy watchtower compose file
|
|
template:
|
|
src: docker-compose.yml.j2
|
|
dest: "{{ watchtower_compose_dir }}/docker-compose.yml"
|
|
notify: restart watchtower
|
|
- name: Start watchtower
|
|
community.docker.docker_compose_v2:
|
|
project_src: "{{ watchtower_compose_dir }}"
|
|
state: present
|