Create docker-compose.yaml

This commit is contained in:
tehNooB 2024-04-07 10:08:32 +01:00 committed by GitHub
parent 2f5ddd6822
commit 35f97d56a5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,30 @@
version: "3"
services:
deconz:
image: deconzcommunity/deconz:latest
container_name: deconz
restart: unless-stopped
ports:
- '8002:8002'
- '5443:5443'
- '5900:5900'
volumes:
- /home/ubuntu/docker/deconz:/opt/deCONZ
- /home/ubuntu/docker/deconz/otau:/root/otau
devices:
- /dev/ttyACM0:/dev/ttyACM0
environment:
- DECONZ_DEVICE=/dev/ttyACM0
- DECONZ_WEB_PORT=8002
- DECONZ_WS_PORT=5443
- DEBUG_INFO=1
- DEBUG_APS=0
- DEBUG_ZCL=0
- DEBUG_ZDP=0
- DEBUG_OTAU=0
- DECONZ_VNC_MODE=1
- DECONZ_VNC_PORT=5900
- DECONZ_VNC_PASSWORD=password
- TZ=Europe/London
security_opt:
- no-new-privileges:true