Deploy ExcaliDash on Coolify, Portainer, and Dokploy
If you manage self-hosted apps through a web panel instead of SSH and git clone, deploy ExcaliDash using a standalone Compose stack with pre-built Docker Hub images (zimengxiong/excalidash-backend and zimengxiong/excalidash-frontend).
Key rules for panel deployments
Keep three details right regardless of which panel you use:
- Route your public domain to
frontendon port8080(notbackend). Thefrontendnginx container proxies/api/*and/socket.io/*tobackend:8000internally. - Set
FRONTEND_URLandTRUST_PROXYonbackendso HTTPS sessions and live collaboration WebSockets work through your panel's reverse proxy. - Keep
backend-dataas a named volume so SQLite drawings, local uploads, and secrets persist across redeployments.
Coolify
- In Coolify, select + New Resource → Docker Compose Empty.
- Paste this Compose file:
yaml
services:
backend:
image: zimengxiong/excalidash-backend:0.7.0
init: true
environment:
DATABASE_PROVIDER: sqlite
DATABASE_URL: file:/app/prisma/dev.db
PORT: 8000
NODE_ENV: production
AUTH_MODE: local
FRONTEND_URL: ${SERVICE_URL_FRONTEND}
TRUST_PROXY: "1"
JWT_SECRET: ${SERVICE_PASSWORD_64_JWT}
CSRF_SECRET: ${SERVICE_PASSWORD_64_CSRF}
volumes:
- backend-data:/app/prisma
restart: unless-stopped
healthcheck:
test:
[
"CMD",
"node",
"-e",
"require('http').get('http://127.0.0.1:8000/health', (r) => process.exit(r.statusCode === 200 ? 0 : 1))",
]
interval: 30s
timeout: 10s
retries: 3
frontend:
image: zimengxiong/excalidash-frontend:0.7.0
environment:
- SERVICE_FQDN_FRONTEND_8080
depends_on:
- backend
restart: unless-stopped
volumes:
backend-data:- On the
frontendservice settings, assign your domain (for examplehttps://draw.example.com) targeting port8080. - Click Deploy. Coolify's built-in Traefik proxy forwards WebSocket upgrades automatically.
- Open your domain and complete first-run setup.
Portainer Stacks
- Open Stacks → + Add stack and name it
excalidash. - Paste this Compose file into the Web editor:
yaml
services:
backend:
image: zimengxiong/excalidash-backend:0.7.0
init: true
environment:
DATABASE_PROVIDER: sqlite
DATABASE_URL: file:/app/prisma/dev.db
PORT: 8000
NODE_ENV: production
AUTH_MODE: local
FRONTEND_URL: ${FRONTEND_URL}
TRUST_PROXY: ${TRUST_PROXY:-false}
JWT_SECRET: ${JWT_SECRET}
CSRF_SECRET: ${CSRF_SECRET}
volumes:
- backend-data:/app/prisma
networks:
- excalidash-network
restart: unless-stopped
frontend:
image: zimengxiong/excalidash-frontend:0.7.0
ports:
- "6767:8080"
depends_on:
- backend
networks:
- excalidash-network
restart: unless-stopped
networks:
excalidash-network:
driver: bridge
volumes:
backend-data:- Under Environment variables, add:
JWT_SECRET— 64-char random hex string (openssl rand -hex 32)CSRF_SECRET— second 64-char random hex stringFRONTEND_URL— your public URL (e.g.,https://draw.example.com) if behind a reverse proxy, or omit for local HTTPTRUST_PROXY—1if behind Nginx Proxy Manager / Caddy / Traefik, orfalsefor direct LAN access
- Click Deploy the stack. If exposing publicly, point your reverse proxy at port
6767with WebSocket upgrades enabled (see Reverse proxy & HTTPS).
Dokploy
- Create a Compose service inside your Dokploy project and select Raw provider.
- Paste the Portainer Compose YAML above, replacing the
ports:mapping onfrontendwith Dokploy's Traefik domain routing (target servicefrontend, container port8080). - Add
FRONTEND_URL=https://draw.example.com,TRUST_PROXY=1,JWT_SECRET, andCSRF_SECRETunder Environment. - Deploy and open your configured HTTPS domain.
Upgrades and backups
- Upgrades: Keep
excalidash-backendandexcalidash-frontendpinned to the same release tag (for example0.7.0), export a.excalidashbackup first, update both tags together, and redeploy. - Database options: To pair your panel deployment with PostgreSQL or S3/MinIO/R2, see PostgreSQL & S3 storage.
- Team SSO: Add Authentik, Keycloak, Pocket ID, or Authelia via the OIDC & SSO guide.
