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:
@@ -0,0 +1,3 @@
|
||||
---
|
||||
rtlamr2mqtt_compose_dir: "{{ docker_compose_base }}/rtlamr2mqtt"
|
||||
rtlamr2mqtt_image: "allangood/rtlamr2mqtt:2.3.4"
|
||||
@@ -0,0 +1,14 @@
|
||||
---
|
||||
- name: Create rtlamr2mqtt compose directory
|
||||
file:
|
||||
path: "{{ rtlamr2mqtt_compose_dir }}"
|
||||
state: directory
|
||||
- name: Deploy rtlamr2mqtt compose file
|
||||
template:
|
||||
src: docker-compose.yml.j2
|
||||
dest: "{{ rtlamr2mqtt_compose_dir }}/docker-compose.yml"
|
||||
notify: restart rtlamr2mqtt
|
||||
- name: Start rtlamr2mqtt
|
||||
community.docker.docker_compose_v2:
|
||||
project_src: "{{ rtlamr2mqtt_compose_dir }}"
|
||||
state: present
|
||||
@@ -0,0 +1,16 @@
|
||||
services:
|
||||
rtlamr2mqtt:
|
||||
image: {{ rtlamr2mqtt_image }}
|
||||
container_name: rtlamr2mqtt
|
||||
restart: unless-stopped
|
||||
devices:
|
||||
- /dev/bus/usb:/dev/bus/usb
|
||||
volumes:
|
||||
- /data/rtlamr2mqtt/rtlamr2mqtt.yaml:/etc/rtlamr2mqtt.yaml:ro
|
||||
- /data/rtlamr2mqtt/data:/var/lib/rtlamr2mqtt
|
||||
networks:
|
||||
- {{ docker_network_name }}
|
||||
|
||||
networks:
|
||||
{{ docker_network_name }}:
|
||||
external: true
|
||||
Reference in New Issue
Block a user