moved docker to services

This commit is contained in:
2024-05-31 15:33:31 +01:00
parent 0b048e17f0
commit d0026fd2d2
14 changed files with 9 additions and 8 deletions

View File

@@ -0,0 +1,19 @@
version: '3.8'
services:
zigbee2mqtt:
container_name: zigbee2mqtt
image: koenkk/zigbee2mqtt
restart: unless-stopped
volumes:
- data:/app/data
- /run/udev:/run/udev:ro
ports:
# Frontend port
- 8085:8080
environment:
- TZ=Europe/Berlin
devices:
# Make sure this matched your adapter location
- /dev/ttyUSB0:/dev/ttyUSB0
volumes:
data: