2023-07-17 12:47:45 +03:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
homeassistant:
|
|
|
|
container_name: homeassistant
|
|
|
|
image: "ghcr.io/home-assistant/home-assistant:stable"
|
|
|
|
volumes:
|
|
|
|
- ${HOMEASSISTANT_PATH}/config:/config
|
|
|
|
- /etc/localtime:/etc/localtime:ro
|
2024-03-20 12:00:22 +02:00
|
|
|
- /run/dbus:/run/dbus:ro
|
|
|
|
devices:
|
|
|
|
- '/dev/serial/by-id/usb-Nabu_Casa_SkyConnect_v1.0_7cf0ee91b8d8ed11a8216b6162c613ac-if00-port0:/dev/ttyUSB0'
|
2023-07-17 12:47:45 +03:00
|
|
|
restart: unless-stopped
|
|
|
|
privileged: true
|
|
|
|
network_mode: host
|
2024-03-20 12:00:22 +02:00
|
|
|
environment:
|
|
|
|
- TZ=Europe/Stockholm
|