Docker Compose setup for running Home Assistant on UGREEN NAS (UGOS PRO) with host networking, hardware access, and persistent config storage. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
14 lines
355 B
YAML
14 lines
355 B
YAML
services:
|
|
homeassistant:
|
|
container_name: homeassistant
|
|
image: ghcr.io/home-assistant/home-assistant:stable
|
|
volumes:
|
|
- ./homeassistant/config:/config
|
|
- /etc/localtime:/etc/localtime:ro
|
|
- /run/dbus:/run/dbus:ro
|
|
environment:
|
|
- TZ=Europe/Berlin
|
|
restart: unless-stopped
|
|
network_mode: host
|
|
privileged: true
|