Browse Source

install homeassistant on nas

Blaine Story 1 year ago
parent
commit
5132453a37
1 changed files with 13 additions and 0 deletions
  1. 13 0
      plays/nas-services.yml

+ 13 - 0
plays/nas-services.yml

@@ -51,6 +51,17 @@
         include_global_env_vars: true
         restart: unless-stopped
     
+      - name: homeassistant
+        active: true
+        image: ghcr.io/home-assistant/home-assistant:stable
+        privileged: true
+        network_mode: host
+        environment:
+          - TZ=America/Los_Angeles
+        volumes:
+          - /opt/homeassistant:/config
+          - /run/dbus:/run/dbus:ro
+        restart: unless-stopped
 
       - name: sickchill
         active: true
@@ -134,6 +145,8 @@
         ports:
           - 8840:8840
 
+
+
     metrics_monitored_hosts:
       - nas.home.arpa
       - gateway.home.arpa