docker-compose/homeassistant/docker-compose.yml

16 lines
504 B
YAML
Raw Normal View History

services:
homeassistant:
container_name: homeassistant
image: "ghcr.io/home-assistant/home-assistant:stable"
volumes:
2024-12-08 13:48:35 +02:00
- /docker/storage/homeassistant/config:/config
- /etc/localtime:/etc/localtime:ro
- /run/dbus:/run/dbus:ro
2024-12-08 13:48:35 +02:00
# devices:
# - '/dev/serial/by-id/usb-Nabu_Casa_SkyConnect_v1.0_7cf0ee91b8d8ed11a8216b6162c613ac-if00-port0:/dev/ttyUSB0'
restart: unless-stopped
privileged: true
network_mode: host
environment:
- TZ=Europe/Stockholm