Skip to main content

Installation

HomeThe Assistantservice can be installed by followingthrough the Portainer guideweb forinterface. 

Learn about creating a new stack.

Learn about configuring a

Docker stacksCompose

and then use

Use the following Docker Compose code to runinstall thisthe app:service:

---
services:
  home-assistant:
    container_name: homeassistant
    image: "ghcr.io/home-assistant/home-assistant:stable"
    volumes:
      # Persistent Data
      - /srv/home-assistant/:/config

      # Hardware Access
      - /run/dbus:/run/dbus:ro
    restart: unless-stopped
    environment:
      - TZ=America/Vancouver
    privileged: true
    network_mode: host