Installation
The service can be installed through the Portainer web interface.
Learn about creating a new stack.
Docker Compose
Use the following code to install the 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