Fix critical discrepancies found during validation audit

- 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
This commit is contained in:
2026-02-01 23:54:39 -06:00
parent b9be45dc71
commit 50829af421
38 changed files with 368 additions and 36 deletions
+3
View File
@@ -0,0 +1,3 @@
---
watchtower_compose_dir: "{{ docker_compose_base }}/watchtower"
watchtower_image: "containrrr/watchtower"
+14
View File
@@ -0,0 +1,14 @@
---
- 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
@@ -0,0 +1,14 @@
services:
watchtower:
image: {{ watchtower_image }}
container_name: watchtower
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /data/watchtower/config.json:/config.json
networks:
- {{ docker_network_name }}
networks:
{{ docker_network_name }}:
external: true