Need help with
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

292 Stars 184 Forks GNU General Public License v3.0 491 Commits 15 Opened issues


Dockerized based on tomcat:9-jre11 & tomcat:9-jre8-alpine official image.

Services available


Need anything else?

Contributors list

Build Image Get your own image badge on Docker Repository on Quay

latest alpine

Introduction (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. can import .vsdx, Gliffy™ and Lucidchart™ files.

In this repository:

  • docker image that is always up-to-date with releases
  • export server image which allow exporting diagrams to pdf and images
  • docker-compose to run with the export server
  • docker-compose to run integrated within nextcloud
  • docker-compose to run with PlantUML support
  • docker-compose to run self-contained without any dependency on website (with the export server, plantUml, Google Drive support, OneDrive support, and EMF conversion support (for VSDX export)


The Dockerfile builds from


Forked from fjudith/


  • Based on Tomcat so it can be used directly or behind a reverse-proxy
  • Self-Signed certificate autogen
  • Let's encrypt certificate autogen
  • Support SSL Keystore mount to

Quick Start

Run the container.

docker run -it --rm --name="draw" -p 8080:8080 -p 8443:8443 fjudith/

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 or

is a security feature that disables support of cloud storage.

Environment variables

  • LETSENCRYPTENABLED: Enables Let's Encrypt certificate instead of self-signed; default
  • PUBLIC_DNS: DNS domain to be used as certificate "CN" record; default
  • 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
  • STATE: State name to be used as certificate "ST" record; default
  • COUNTRY_CODE: Country code to be used as certificate "C" record; default
  • KEYSTORE_PASS: ".keystore"/.jks" store password; default
  • KEY_PASS: Private key password; default

HTTPS SSL Certificate via Let's Encrypt


  1. A Linux machine connected to the Internet with ports 443 and 80 open
  2. A domain/subdomain name pointing to this machine's IP address. (e.g.,


  1. Using jgraph/drawio docker image, run the following command
    docker run -it -m1g -e LETS_ENCRYPT_ENABLED=true -e --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.

Changing configuration

Method 1 (Build you custom image with setting pre-loaded)

  1. Edit PreConfig.js & PostConfig.js files (next to Dockerfile in debian or alpine folders)
  2. Build the docker image

Method 2 (Using existing running docker container)

  1. Edit PreConfig.js & PostConfig.js files (next to Dockerfile in debian or alpine folders)
  2. Copy these files to docker container
docker cp PreConfig.js draw:/usr/local/tomcat/webapps/draw/js/
docker cp PostConfig.js draw:/usr/local/tomcat/webapps/draw/js/

Method 3 (Bind configuration files into the container when started)

  1. This method allows changing the configuration files directly on the host without invoking any other docker commands. It can be used for testing
  2. Edit PreConfig.js & PostConfig.js files (next to Dockerfile in debian or alpine folders)
  3. From within the directory that contained the configuration files, run the following command to start docker container
  4. Note: self-contained docker-compose file already mount the configuration files into the container
docker run -it  --rm --name="draw" --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 -p 8080:8080 -p 8443:8443 fjudith/


We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.