draw.io (formerly Diagramly) is free online diagram software. You can use it as a flowchart maker, network diagram software, to create UML online, as an ER diagram tool, to design database schema, to build BPMN online, as a circuit diagram maker, and more. draw.io can import .vsdx, Gliffy™ and Lucidchart™ files .
The Dockerfile builds from tomcat:9-jre11-slim
and `tomcat:9-jre8-alpine (see https://hub.docker.com/_/tomcat/)
This image does not leverage embedded database.
- Deployment as WAR package
- Use Tomcat instead of apache
- Patch with EmbedServlet2
- Self-Signed certificate autogen
- Let's encrypt certificate autogen
- Support SSL Keystore mount to
/user/local/tomcat/.keystore
Run the container.
docker run -it --rm --name="draw" -p 8080:8080 -p 8443:8443 fjudith/draw.io
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.
- LETS_ENCRYPT_ENABLED: Enables Let's Encrypt certificate instead of self-signed; default
false
- PUBLIC_DNS: DNS domain to be used as certificate "CN" record; default
draw.example.com
- ORGANISATION_UNIT: Organisation unit to be used as certificate "OU" record; default
Cloud Native Application
- ORGANISATION: Organisation name to be used as certificate "O" record; default
example inc
- CITY: City name to be used as certificate "L" record; default
Paris
- STATE: State name to be used as certificate "ST" record; default
Paris
- COUNTRY_CODE: Country code to be used as certificate "C" record; default
FR
- KEYSTORE_PASS: ".keystore"/.jks" store password; default
V3ry1nS3cur3P4ssw0rd
- KEY_PASS: Private key password; default
<ref:KEYSTORE_PASS>