infrastructure/homeassistant/docker-compose.yaml

17 lines
360 B
YAML
Raw Normal View History

2024-09-11 19:51:42 +02:00
version: '3'
services:
homeassistant:
restart: unless-stopped
container_name: homeassistant
image: "ghcr.io/home-assistant/home-assistant:${hass_version:-stable}"
volumes:
- hass_config:/config
- /etc/localtime:/etc/localtime:ro
- /run/dbus:/run/dbus:ro
privileged: true
network_mode: host
volumes:
hass_config: