services: homeassistant: container_name: homeassistant image: "ghcr.io/home-assistant/home-assistant:stable" volumes: - "/var/run/dbus:/run/dbus:ro" - ./config/ha:/config - /var/run/docker.sock:/var/run/docker.sock environment: - TZ=Europe/Amsterdam - PUID=1000 - PGID=1000 restart: unless-stopped privileged: true network_mode: host devices: - /dev/ttyUSB0:/dev/ttyUSB0