Revision [6167]
This is an old revision of TDMDocker made by ZorrUno on 2020-08-20 23:59:27.
Tasmota Device Manager and Docker
Notes
Allows Tasmota Device manager (tdmgr), which is a python GUI application to run in a docker container, and uses noVNC (HTML5 web based VNC client) to let you view tdmgr remotely.View remotely with
http://[HOST IP ADDR]:5810
You can also use a VNC client directly at port 5910
Originally from https://hub.docker.com/r/marcelkordek/tasmota-device-manager (but this appears to have been abandoned)
Tasmota Device Manager: https://github.com/jziolkowski/tdm
NoVNC: https://novnc.com/info.html
dockerfile
FROM jlesage/baseimage-gui:debian-10 RUN apt-get update && apt-get upgrade -y RUN add-pkg libqt5x11extras5 python3 python3-pip git -y --no-install-recommends RUN pip3 install --upgrade pip RUN pip3 install setuptools # Install Tasmota Device Manager RUN pip3 install tdmgr # Environment Variables # see https://github.com/jlesage/docker-baseimage-gui/#environment-variables #ENV TZ="Pacific/Auckland" # Copy the start script COPY startapp.sh /startapp.sh # Create volume VOLUME /config
docker-compose.yml
version: '3.3' services: tasmota-device-manager: build: . volumes: - "/dockervolumes/tasmota-device-manager/config:/config" - "/etc/localtime:/etc/localtime:ro" - "/etc/timezone:/etc/timezone:ro" ports: - '5810:5800' - '5910:5900' container_name: tasmota-device-manager hostname: tasmota-device-manager restart: unless-stopped
/startapp.sh
#!/bin/sh export HOME=/config exec /usr/bin/python3 /usr/local/bin/tdmgr.py