docker-compose/homeassistant/docker-compose.yml
2024-11-30 18:57:35 +02:00

21 lines
495 B
YAML

services:
homeassistant:
image: "ghcr.io/home-assistant/home-assistant:stable"
container_name: homeassistant
privileged: true
network_mode: host
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Kiyv
cap_add:
- NET_ADMIN
- NET_RAW
volumes:
- /var/run/dbus:/var/run/dbus:z
- .config:/config:z
ports:
- 8123:8123 #optional
#devices:
# - /path/to/device:/path/to/device #optional
restart: unless-stopped