Files
docker-compose/smart-home/docker-compose.yml

16 lines
541 B
YAML

services:
home-assistant:
image: "ghcr.io/home-assistant/home-assistant:stable"
container_name: home-assistant
privileged: true
network_mode: host
volumes:
- /mnt/user/appdata/home-assistant:/config
- /etc/localtime:/etc/localtime:ro
- /run/dbus:/run/dbus:ro
restart: unless-stopped
labels:
net.unraid.docker.icon: "https://cdn.jsdelivr.net/gh/selfhst/icons@main/png/home-assistant.png"
net.unraid.docker.webui: "https://home-assistant.homecube.org"
folder.view2: "Services"