Self-host draw.io with Levelrail
A self-hosted diagramming and whiteboarding editor for flowcharts, architecture diagrams, and more.
- Authorjgraph
- LicenceApache-2.0
- Memory256 MiB
- Archarm64
- Services1
How to self-host draw.io
-
Pull the images
One image is pulled on your server.
Show images
jgraph/drawio:29.0.3
-
Create the app
One service starts in a single Compose app, on port 8080.
-
Fill in the secrets
You do not have to fill in anything.
-
Open it
Without a domain the app gets an sslip.io address; add --domain SERVICE=HOST to use your own.
draw.io requirements
- Memory
- About 256 MiB
- Architectures
- amd64 image published, arm64 image published
- Ports
- 8080
- Domain
- Optional, an sslip.io address is used without one
- Settings
- none to fill in
- License
- Apache-2.0, permissive license
- Listed. It is in the catalog but not verified. Back up the data volume before changing an image tag.
- Host ports. It publishes port 8080 on the host, so open them in the VPS firewall only if you want that.
Install Levelrail first
On a server with Levelrail running, run the command above, or open the dashboard: Apps, New app, Browse templates, then draw.io. New to Levelrail? Install it on a fresh VPS first.
docker pull ghcr.io/glincker/levelrail:latest Then levelrail-cli login --device. See Getting started and the draw.io docs page.
Deploy draw.io your way
Every format below deploys the same pinned images. Pick the one that fits how you work.
Deploy draw.io from the CLI
levelrail-cli templates deploy drawio --name my-drawio Deploy draw.io with the API
curl -X POST -H "Authorization: Bearer $TOKEN" \
https://levelrail.example.com/api/v1/service-templates/drawio/deploy draw.io configuration
draw.io services
| Service | Image | Ports | Volumes |
|---|---|---|---|
| drawio | jgraph/drawio:29.0.3 | 8080 | none |
draw.io environment variables
The catalog lists no environment variables for this template.
Ports and volumes
- Ports
- 8080
- Volumes
- none
draw.io FAQ
How much memory does draw.io need?
The catalog lists about 256 MiB of memory for draw.io.
Does draw.io run on arm64?
For draw.io, an arm64 image is published; amd64 is image published.
What licence is draw.io under?
draw.io is licensed under Apache-2.0, which is permissive, with few conditions on reuse.
Does draw.io need configuration before it starts?
No. The template fills in its own defaults.
Which ports does draw.io use?
draw.io listens on port 8080 inside the stack.
Can I deploy draw.io on Dokploy or Dokku?
The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list has an entry with the id drawio for this app, so check that entry as well. Dokku deploys container images with its own commands, so the pinned image jgraph/drawio:29.0.3 is what you deploy there.