services: adguardhome: container_name: adguardhome image: adguard/adguardhome volumes: - ${DATA_DIR}/adguardhome:/opt/adguardhome/work - ${CONFIG_DIR}/adguardhome:/opt/adguardhome/conf network_mode: host restart: unless-stopped homeassistant: container_name: homeassistant image: ghcr.io/home-assistant/home-assistant:stable volumes: - ${CONFIG_DIR}/homeassistant:/config - /etc/localtime:/etc/localtime:ro privileged: true network_mode: host restart: unless-stopped mqtt: container_name: mqtt image: eclipse-mosquitto:2.0 volumes: - ${DATA_DIR}/mosquitto-data:/mosquitto ports: - 1883:1883 - 9001:9001 restart: unless-stopped command: "mosquitto -c /mosquitto-no-auth.conf" zigbee2mqtt: container_name: zigbee2mqtt image: koenkk/zigbee2mqtt volumes: - ${DATA_DIR}/zigbee2mqtt-data:/app/data - /run/udev:/run/udev:ro ports: - 8080:8080 restart: unless-stopped environment: - TZ=${TZ} devices: - /dev/ttyUSB0:/dev/ttyUSB0 nginx: container_name: nginx image: nginx volumes: - ./nginx.conf:/etc/nginx/nginx.conf:ro network_mode: host restart: unless-stopped