draw.io is a whiteboarding / diagramming software application. This project contains various docker implementations of draw.io and associated tools:
The Dockerfile builds from tomcat:9-jre11
(see https://hub.docker.com/_/tomcat/)
Note: Starting from version 16.5.3, alpine and debian images are no longer maintained. We changed to a single image that uses the tomcat image with the least security vulnerabilities.
Forked from fjudith/draw.io
/user/local/tomcat/.keystore
Run the container.
docker run -it --rm --name="draw" -p 8080:8080 -p 8443:8443 jgraph/drawio
Start a web browser session to http://localhost:8080/?offline=1&https=0 or https://localhost:8443/?offline=1
If you're running Docker Toolbox
then start a web browser session to http://192.168.99.100:8080/?offline=1&https=0 or https://192.168.99.100:8443/?offline=1
?offline=1
is a security feature that disables support of cloud storage.
false
draw.example.com
Cloud Native Application
example inc
Paris
Paris
FR
V3ry1nS3cur3P4ssw0rd
<ref:KEYSTORE_PASS>
docker run -it -m1g -v "/opt/docker/drawiodata/letsencrypt-log:/var/log/letsencrypt/" -v "/opt/docker/drawiodata/letsencrypt-etc:/etc/letsencrypt/" -v "/opt/docker/drawiodata/letsencrypt-lib:/var/lib/letsencrypt" -e LETS_ENCRYPT_ENABLED=true -e PUBLIC_DNS=drawio.example.com --rm --name="draw" -p 80:80 -p 443:8443 jgraph/drawio
Notice that mapping port 80 to container's port 80 allows certbot to work in stand-alone mode. Mapping port 443 to container's port 8443 allows the container tomcat to serve https requests directly.
Configuration is managed by DRAWIO_*
environment variables. For a list of these variables, check the docker-entrypoint.sh
file in the main
directory. For example, these variables allow enabling integration with Google Drive, OneDrive, ...
This repo is not covered by the JGraph SOC 2 process.