Forráskód Böngészése

update nas services

Blaine Story 2 éve
szülő
commit
ebbf802463
1 módosított fájl, 35 hozzáadás és 6 törlés
  1. 35 6
      plays/nas-services.yml

+ 35 - 6
plays/nas-services.yml

@@ -15,7 +15,7 @@
 
   vars:
     status_services_extra:
-#      - grafana-server
+      - grafana-server
       - smb
 
     backups: containers
@@ -40,6 +40,17 @@
         gateway: 172.21.10.1
 
     containers:
+      - name: heimdall
+        active: true
+        image: linuxserver/heimdall
+        ports:
+          - 80:80
+        volumes:
+          - /opt/heimdall:/config
+        include_global_env_vars: true
+        restart: unless-stopped
+    
+
       - name: sickchill
         active: true
         image: linuxserver/sickchill
@@ -105,18 +116,36 @@
           - /dev/sde
           - /dev/sdf
           - /dev/sdg
-          - /dev/sdi
 
-    metrics_monitored_hosts: "{{ groups['nas'] }}" #TODO increase to others
+      - name: watchyourlan
+        active: true
+        image: aceberg/watchyourlan
+        network_mode: host
+        environment:
+          - IFACE=enp42s0
+          - TZ=America/Los_Angeles
+          - SHOURTRRR_URL=ntfy://ntfy.warchildstory.com/TestNotifications
+          - GUIIP=0.0.0.0
+          - GUIPORT=8840
+        volumes:
+          - /opt/wyl:/data
+        ports:
+          - 8840:8840
+
+    metrics_monitored_hosts:
+      - nas.home.arpa
+      - gateway.home.arpa
     metrics_retention_days: 14
-    metrics_graph_service: no
-    metrics_query_service: no
+    metrics_graph_service: yes
+    metrics_query_service: yes
 
     firewall:
-      #- {'service': 'grafana', 'state': 'enabled' }
+      - {'service': 'grafana', 'state': 'enabled' }
+      - {'service': 'http', 'state': 'enabled' }
 
       - {'port': '8080/tcp', 'state': 'enabled'}
       - {'port': '8081/tcp', 'state': 'enabled'}
       - {'port': '8086/tcp', 'state': 'enabled'}
       - {'port': '8088/tcp', 'state': 'enabled'}
+      - {'port': '8840/tcp', 'state': 'enabled'}
       - {'port': '9091/tcp', 'state': 'enabled'}