Self-hosted Excalidraw guides
Practical setup and architecture guides for self-hosting Excalidraw on a server, homelab, or VPS with ExcaliDash.
Getting started & comparisons
- How to self-host Excalidraw: compare the official
excalidraw/excalidrawimage,excalidraw-room, and ExcaliDash, then deploy with Docker Compose. - How ExcaliDash works: architecture of the Excalidraw backend, SQLite/PostgreSQL persistence, image interning, Socket.IO sync, and OIDC auth.
- Self-hosted Excalidraw+ alternative: compare ExcaliDash with Excalidraw+ and other open-source whiteboards, and migrate
.excalidrawfiles. - Self-hosted Excalidraw projects compared: ExcaliDash vs Excaliself, excalidraw-full, alswl/excalidraw-collaboration, excalidraw-persist, and AstraDraw.
Collaboration & troubleshooting
- Excalidraw collaboration server (
excalidraw-room): runexcalidraw-roomin Docker, whyVITE_APP_WS_SERVER_URLrequires a rebuild, the HTTPS requirement, and a no-rebuild option. - Excalidraw Docker not saving drawings: why scenes vanish from the official Docker image and how to add server-side persistent storage.
Production infrastructure
- Reverse proxy, HTTPS & WebSockets: configs for Caddy, Nginx, Nginx Proxy Manager, Traefik v3, and Cloudflare Tunnel.
- Excalidraw OIDC & SSO setup: native OpenID Connect with Authentik, Keycloak, Pocket ID, Authelia, and Entra ID, including JIT provisioning and admin groups.
- PostgreSQL & S3 storage: move beyond SQLite to PostgreSQL 16 and offload drawing images to AWS S3, Cloudflare R2, or MinIO.
Deployment platforms & reference
- Deploy with Docker Compose: production Compose workflow, pinned tags, scheduled SQLite backups, and upgrades.
- Deploy on Coolify, Portainer & Dokploy: standalone Compose stacks for web-based Docker panels.
- Deploy on Kubernetes, Proxmox & Unraid: community Helm charts, Proxmox VE LXC script, Unraid Docker Compose setup, and the single-backend constraint.
- Environment variables reference: every backend and frontend setting in one table.
