version: '3' services: homeassistant: container_name: HomeAssistant network_mode: host image: "ghcr.io/home-assistant/home-assistant:latest" volumes: - /share/docker_data/ha/:/config - /dev/ttyUSB0:/dev/ttyUSB0 - /dev/ttyUSB1:/dev/ttyUSB1 - /var/log:/logging - /var/run/docker.sock:/var/run/docker.sock - /run/dbus:/run/dbus:ro privileged: true environment: - DISABLE_JEMALLOC=value - TZ=Europe/Bratislava labels: com.centurylinklabs.watchtower.enable: true restart: always