services: zigbee2mqtt: image: koenkk/zigbee2mqtt:latest container_name: zigbee2mqtt restart: unless-stopped environment: - TZ=${TZ:-Europe/Berlin} ports: - "${HTTP_PORT:-8095}:8080" volumes: # The config lives with the stack so you can edit it here; the directory # underneath holds the device database Zigbee2MQTT builds as you pair. - ${DATA_PATH:-/srv/zigbee2mqtt}:/app/data - ./configuration.yaml:/app/data/configuration.yaml - /run/udev:/run/udev:ro devices: # Your Zigbee coordinator. Find it with: ls -l /dev/serial/by-id/ - ${ZIGBEE_DEVICE:-/dev/ttyUSB0}:/dev/ttyACM0