参考
- https://wzfou.com/draw-io/
- https://hub.docker.com/r/fjudith/draw.io
- https://github.com/fjudith/docker-draw.io/tree/master/self-contained
介绍
安装
mkdir -p /data/drawio && cd /data/drawio && touch PreConfig.js PostConfig.js docker run --restart=always -d \ -p 9300:8080 \ -p 9343:8443 \ --name drawio \ --mount type=bind,source="$(pwd)"/PreConfig.js,target=/usr/local/tomcat/webapps/draw/js/PreConfig.js \ --mount type=bind,source="$(pwd)"/PostConfig.js,target=/usr/local/tomcat/webapps/draw/js/PostConfig.js \ fjudith/draw.io docker logs -f drawio