Skip to content

Instantly share code, notes, and snippets.

@rdrouche
Created July 29, 2024 12:26
Show Gist options
  • Save rdrouche/93aabd61c21027cbfc33a53f8d4aa7ad to your computer and use it in GitHub Desktop.
Save rdrouche/93aabd61c21027cbfc33a53f8d4aa7ad to your computer and use it in GitHub Desktop.
Z2M Docker Compose
services:
zigbee2mqtt:
container_name: zigbee2mqtt
image: koenkk/zigbee2mqtt
restart: unless-stopped
volumes:
- ./data:/app/data
- /run/udev:/run/udev:ro
ports:
# Frontend port
- 8080:8080
environment:
- TZ=Europe/Paris
devices:
# Make sure this matched your adapter location
- /dev/serial/by-id/:/dev/ttyACM0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment