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 esphome: container_name: esphome image: esphome/esphome volumes: - /share/docker_data/esphome/config:/config - /etc/localtime:/etc/localtime:ro restart: always privileged: true network_mode: host environment: - USERNAME=jaydee - PASSWORD=jaydee1