Video coming soon…
🗺️ Setup draw.io — Self-Hosted Diagram Editor
Deploy draw.io (diagrams.net) on Ubuntu with Docker — a powerful, stateless self-hosted diagram editor with no database required.
⚠️ Always review any script before running it on your server. Test in a staging environment first.
📦 Resources & Setup Scripts
Before starting, please make sure to grab the required scripts from our GitHub repository to follow along with the video easily.
Quick Install:
wget https://raw.githubusercontent.com/mhmdali94/Docker/refs/heads/main/tools/drawio/drawio-ubuntu.sh
chmod +x drawio-ubuntu.sh
sudo bash drawio-ubuntu.sh
Tutorial Steps
1 Download the Script
wget https://raw.githubusercontent.com/mhmdali94/Docker/refs/heads/main/tools/drawio/drawio-ubuntu.sh
2 Make it Executable
chmod +x drawio-ubuntu.sh
3 Run the Installer
The script installs Docker if needed and launches the draw.io container. No database or storage configuration is required — draw.io is fully stateless.
sudo bash drawio-ubuntu.sh
4 Access the Web UI
Open your browser and navigate to draw.io:
http://<your-server-ip>:8080
Ports Used
| Port | Purpose |
|---|---|
| 8080 | draw.io Web UI (HTTP) |
