Sure 
docker-compose.yaml
version: '3.2'
services:
deconz:
image: deconzcommunity/deconz:latest
container_name: deconz
restart: always
ports:
- "82:82"
- "4434:4434"
- "5900:5900"
- "6080:6080"
volumes:
- /etc/localtime:/etc/localtime:ro
- /var/dresden-elektronik/deCONZ_:/opt/deCONZ
devices:
- "/dev/ttyACM0:/dev/ttyACM0"
environment:
- "DECONZ_DEVICE=/dev/ttyACM0"
- "DECONZ_WEB_PORT=82"
- "DECONZ_WS_PORT=4434"
- "DECONZ_VNC_MODE=1"
- "DECONZ_VNC_DISPLAY=1"
- "DECONZ_NOVNC_PORT=0"
- "TZ=Europe/Berlin"
- "DEBUG_INFO=1"
- "DEBUG_APS=0"
- "DEBUG_ZCL=0"
- "DEBUG_ZDP=0"
- "DEBUG_OTAU=0"
- "QT_DEBUG_PLUGINS=1"
- "DECONZ_START_VERBOSE=1"
Log:
+ echo [deconzcommunity/deconz] Starting deCONZ...
+ echo [deconzcommunity/deconz] Current deCONZ version: 2.15.03
+ echo [deconzcommunity/deconz] Web UI port: 82
+ echo [deconzcommunity/deconz] Websockets port: 4434
+ DECONZ_OPTS=--auto-connect=1 --appdata=/opt/deCONZ --dbg-info=1 --dbg-aps=0 --dbg-zcl=0 --dbg-ddf=0 --dbg-dev=0 --dbg-zdp=0 --dbg-ota=0 --dbg-error=0 --http-port=82 --ws-port=4434
+ echo [deconzcommunity/deconz] Using options --auto-connect=1 --appdata=/opt/deCONZ --dbg-info=1 --dbg-aps=0 --dbg-zcl=0 --dbg-ddf=0 --dbg-dev=0 --dbg-zdp=0 --dbg-ota=0 --dbg-error=0 --http-port=82 --ws-port=4434
+ echo [deconzcommunity/deconz] Modifying user and group ID
[deconzcommunity/deconz] Starting deCONZ...
[deconzcommunity/deconz] Current deCONZ version: 2.15.03
+ [ 1000 != 1000 ]
+ [ 1000 != 1000 ]
+ echo [deconzcommunity/deconz] Checking device group ID
+ [ /dev/ttyACM0 != 0 ]
+ DEVICE=/dev/ttyACM0
[deconzcommunity/deconz] Web UI port: 82
[deconzcommunity/deconz] Websockets port: 4434
[deconzcommunity/deconz] Using options --auto-connect=1 --appdata=/opt/deCONZ --dbg-info=1 --dbg-aps=0 --dbg-zcl=0 --dbg-ddf=0 --dbg-dev=0 --dbg-zdp=0 --dbg-ota=0 --dbg-error=0 --http-port=82 --ws-port=4434
[deconzcommunity/deconz] Modifying user and group ID
[deconzcommunity/deconz] Checking device group ID
+ stat --printf=%g /dev/ttyACM0
+ DIALOUTGROUPID=20
+ DIALOUTGROUPID=20
+ [ 20 != 20 ]
+ stat -c %A /dev/ttyACM0
+ cut -c 5-7
+ GROUPPERMISSIONS=rw-
+ [ rw- = --- ]
[deconzcommunity/deconz] VNC port: 5900
+ [ 1 != 0 ]
+ [ 5900 -lt 5900 ]
+ DECONZ_VNC_DISPLAY=:0
+ echo [deconzcommunity/deconz] VNC port: 5900
+ [ ! -e /opt/deCONZ/vnc ]
+ ln -sfT /opt/deCONZ/vnc /home/deconz/.vnc
+ chown deconz:deconz /home/deconz/.vnc
+ chown deconz:deconz /opt/deCONZ -R
+ [ 0 != 0 ]
+ echo changeme
+ tigervncpasswd -f
+ chmod 600 /opt/deCONZ/vnc/passwd
+ chown deconz:deconz /opt/deCONZ/vnc/passwd
+ gosu deconz tigervncserver -kill :*
tigervncserver: No VNC server running for this user!
+ gosu deconz tigervncserver -list :* -cleanstale
TigerVNC server sessions:
X DISPLAY # RFB PORT # PROCESS ID SERVER
+ [ -e /tmp/.X0-lock ]
+ continue
+ [ -e /tmp/.X11-unix/X0 ]
+ continue
+ gosu deconz tigervncserver -SecurityTypes VncAuth,TLSVnc :0
/usr/bin/xauth: file /home/deconz/.Xauthority does not exist
=================== tail /home/deconz/.vnc/e33933e48996:5900.log ===================
====================================================================================
tigervncserver: /usr/bin/Xtigervnc did not start up, please look into '/home/deconz/.vnc/e33933e48996:5900.log' to determine the reason! -1
Killing Xtigervnc process ID 46... which seems to be deadlocked. Using SIGKILL!
+ export DISPLAY=:0
+ [ 0 = 0 ]
+ echo [deconzcommunity/deconz] noVNC Disabled
+ [ /dev/ttyACM0 != 0 ]
+ DECONZ_OPTS=--auto-connect=1 --appdata=/opt/deCONZ --dbg-info=1 --dbg-aps=0 --dbg-zcl=0 --dbg-ddf=0 --dbg-dev=0 --dbg-zdp=0 --dbg-ota=0 --dbg-error=0 --http-port=82 --ws-port=4434 --dev=/dev/ttyACM0
+ [ 1 != 1 ]
+ mkdir -p /opt/deCONZ/otau
[deconzcommunity/deconz] noVNC Disabled
+ ln -sfT /opt/deCONZ/otau /home/deconz/otau
+ chown deconz:deconz /home/deconz/otau
+ chown deconz:deconz /opt/deCONZ -R
+ exec gosu deconz /usr/bin/deCONZ --auto-connect=1 --appdata=/opt/deCONZ --dbg-info=1 --dbg-aps=0 --dbg-zcl=0 --dbg-ddf=0 --dbg-dev=0 --dbg-zdp=0 --dbg-ota=0 --dbg-error=0 --http-port=82 --ws-port=4434 --dev=/dev/ttyACM0
QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/arm-linux-gnueabihf/qt5/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/arm-linux-gnueabihf/qt5/plugins/platforms/libqeglfs.so"
Found metadata in lib /usr/lib/arm-linux-gnueabihf/qt5/plugins/platforms/libqeglfs.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"eglfs"
]
},
"archreq": 0,
"className": "QEglFSIntegrationPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("eglfs")
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/arm-linux-gnueabihf/qt5/plugins/platforms/libqlinuxfb.so"
Found metadata in lib /usr/lib/arm-linux-gnueabihf/qt5/plugins/platforms/libqlinuxfb.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"linuxfb"
]
},
"archreq": 0,
"className": "QLinuxFbIntegrationPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("linuxfb")
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/arm-linux-gnueabihf/qt5/plugins/platforms/libqminimal.so"
Found metadata in lib /usr/lib/arm-linux-gnueabihf/qt5/plugins/platforms/libqminimal.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"minimal"
]
},
"archreq": 0,
"className": "QMinimalIntegrationPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("minimal")
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/arm-linux-gnueabihf/qt5/plugins/platforms/libqminimalegl.so"
Found metadata in lib /usr/lib/arm-linux-gnueabihf/qt5/plugins/platforms/libqminimalegl.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"minimalegl"
]
},
"archreq": 0,
"className": "QMinimalEglIntegrationPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("minimalegl")
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/arm-linux-gnueabihf/qt5/plugins/platforms/libqoffscreen.so"
Found metadata in lib /usr/lib/arm-linux-gnueabihf/qt5/plugins/platforms/libqoffscreen.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"offscreen"
]
},
"archreq": 0,
"className": "QOffscreenIntegrationPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("offscreen")
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/arm-linux-gnueabihf/qt5/plugins/platforms/libqvnc.so"
Found metadata in lib /usr/lib/arm-linux-gnueabihf/qt5/plugins/platforms/libqvnc.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"vnc"
]
},
"archreq": 0,
"className": "QVncIntegrationPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("vnc")
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/arm-linux-gnueabihf/qt5/plugins/platforms/libqxcb.so"
Found metadata in lib /usr/lib/arm-linux-gnueabihf/qt5/plugins/platforms/libqxcb.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"xcb"
]
},
"archreq": 0,
"className": "QXcbIntegrationPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/usr/bin/platforms" ...
loaded library "/usr/lib/arm-linux-gnueabihf/qt5/plugins/platforms/libqxcb.so"
qt.qpa.xcb: could not connect to display :0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.