excalidash
by unxwares-sac
A helm chart for ExcaliDash, A self-hosted dashboard and organizer for Excalidraw with live collaboration features
About this chart
ExcaliDash Helm Chart
ExcaliDash is a self-hosted dashboard and organizer for Excalidraw drawings, with live collaboration. This chart, maintained by UnxWares, deploys its two upstream images on Kubernetes: an nginx frontend that serves the web application and proxies the API, and a Node.js backend that stores the drawings in SQLite on a persistent volume, or in PostgreSQL.
Features
- Frontend (nginx) + backend (Node.js) with persistent SQLite storage (or PostgreSQL)
- Generated secrets (JWT, CSRF, API key pepper) kept across upgrades and reinstalls, or your own Secret
- Local, hybrid or enforced OIDC authentication
- Hardened: non-root pods (frontend uid 101, backend uid 1001), no capabilities, seccomp
RuntimeDefault, read-only root filesystems, no service account token, optional NetworkPolicy isolating the backend,Securecookies behind a proxy that terminates TLS - Ingress or Gateway API HTTPRoute (WebSockets included),
helm test, and an end-to-end test in CI - Validation: the chart refuses a second backend replica, a PostgreSQL provider without a PostgreSQL URL, and
OIDC modes without an issuer, a client ID or an
https://redirect URI
Architecture
The names below are those of a release called excalidash: resources are named <release>-excalidash (or just
<release> when the release name already contains excalidash, as here, or fullnameOverride).
| Resource | Name | Created when | Role |
|---|---|---|---|
| Deployment | excalidash-frontend | always | nginx (unprivileged) serving the web application and proxying /api/ and /socket.io/ to the backend Service. Container port 8080 (http). frontend.replicaCount replicas, or the HPA. |
| Service | excalidash-frontend | always | frontend.service.type (ClusterIP), port frontend.service.port (80) to 8080. |
| Deployment | excalidash-backend | always | Node.js API and Socket.IO server, always 1 replica, Recreate strategy. Container port backend.service.port (8000). Init container copy-app (see Volumes). |
| Service | excalidash-backend | always | backend.service.type (ClusterIP), port backend.service.port (8000). |
| PersistentVolumeClaim | excalidash-backend | backend.persistence.enabled (default) and no backend.persistence.existingClaim | Mounted on /app/prisma. Annotated helm.sh/resource-policy: keep. |
| Secret | excalidash | always | Generated or given secrets (see Secrets). Annotated helm.sh/resource-policy: keep. |
| ServiceAccount | excalidash | serviceAccount.create (default) | Used by both Deployments, token not mounted, no RBAC. |
| Ingress | excalidash | ingress.enabled | Sends / (every path) of each host to the frontend Service. |
| HTTPRoute | excalidash | httpRoute.enabled | Sends each rule to the frontend Service. |
| NetworkPolicy | excalidash-backend | networkPolicy.enabled | Only the frontend (and the test pod) may reach the backend. |
| HorizontalPodAutoscaler | excalidash-frontend | frontend.autoscaling.enabled | CPU (and optionally memory) based, frontend only. |
| Pod | excalidash-test-health | helm test | See Testing. |
Volumes:
- Frontend:
/tmp(emptyDir, 256Mi) for the nginx configuration generated at startup, its pid and temporary files. - Backend:
/app/prisma(the PVC, or an emptyDir whenbackend.persistence.enabledis false),/tmp(emptyDir, 1Gi), and/app/distand/app/uploads(two directories of theruntimeemptyDir, 1Gi). At each start the backend entrypoint copies the Prisma schema and the migrations of the selected provider into/app/prisma, writes the JWT and CSRF secrets there (.jwt_secret,.csrf_secret, mode 600), runs the migrations under a lock directory (.migration-lock), replaces/app/dist/generatedwith the Prisma client of the provider and changes the mode of/app/uploads(where imports are staged while they are checked). With SQLite, the database is/app/prisma/db.sqlite.
The root filesystem of the backend is read-only, so the copy-app init container (same image and security context)
first copies the image's /app/dist into the runtime emptyDir and creates the uploads directory there. There is no
Job or CronJob: migrations run in the backend container before the server starts.
Images
| Component | Default image | Values |
|---|---|---|
| Frontend | docker.io/zimengxiong/excalidash-frontend:0.6.7 | frontend.image.* |
| Backend | docker.io/zimengxiong/excalidash-backend:0.6.7 | backend.image.* |
Both tags default to the chart appVersion: keep the frontend and backend tags identical. This chart has no
imageProvider value: it runs the images published by the ExcaliDash project, and does not use the UnxWares images
(ghcr.io/unxwares, built from images/ for other charts). The
images are published for linux/amd64 and linux/arm64.
To pin the images by digest, set frontend.image.digest and backend.image.digest (the digest takes precedence over
the tag). docker buildx imagetools inspect docker.io/zimengxiong/excalidash-backend:0.6.7 prints the digest of a
tag.
frontend:
image:
digest: sha256:<digest of docker.io/zimengxiong/excalidash-frontend:0.6.7>
backend:
image:
digest: sha256:<digest of docker.io/zimengxiong/excalidash-backend:0.6.7>
To pull from a mirror, change the repositories and set global.imagePullSecrets (or frontend.imagePullSecrets /
backend.imagePullSecrets, which replace the global list for one component). The helm test pod runs the frontend
image with the frontend pull secrets and pull policy.
global:
imagePullSecrets:
- name: registry-mirror
frontend:
image:
repository: registry.example.com/mirror/excalidash-frontend
backend:
image:
repository: registry.example.com/mirror/excalidash-backend
Both images are scanned every day by the
CVE watch; chart releases that
only bump an image for vulnerabilities are flagged containsSecurityUpdates on Artifact Hub.
Requirements
Kubernetes: >=1.27.0-0
- Storage: with the default
backend.persistence, aReadWriteOncevolume of 1Gi from the default StorageClass, or frombackend.persistence.storageClass. - Exposure: an Ingress controller or a Gateway API implementation (
HTTPRoutegateway.networking.k8s.io/v1) that passes WebSockets (live collaboration uses Socket.IO on/socket.io/), or aLoadBalancer/NodePortService. The frontend nginx accepts request bodies up to 50 MB: raise the limit of your proxy to match. - Optional external services: a PostgreSQL database, an OpenID Connect provider, and (through
backend.extraEnv) an SMTP server or an S3-compatible bucket. - Nodes:
linux/amd64orlinux/arm64. - Pod Security: every pod meets the
restrictedstandard (the frontend sysctlnet.ipv4.ip_unprivileged_port_startis in the safe set). - NetworkPolicy:
networkPolicy.enabledonly has an effect with a CNI that enforces NetworkPolicies.
Installation
helm repo add unxwares https://helm.unxwares.studio
helm repo update
helm install excalidash unxwares/excalidash --namespace excalidash --create-namespace \
--set frontend.url=https://draw.example.com
Charts are signed with the UnxWares Helm Charts OpenPGP key (fingerprint
7902 E52E A435 EF27 C643 2E53 78D6 B532 C599 DA9B, public key
https://helm.unxwares.studio/pgp-public-key.asc). To check the signature at install time:
curl -fsSL https://helm.unxwares.studio/pgp-public-key.asc | gpg --import
gpg --export 7902E52EA435EF27C6432E5378D6B532C599DA9B > ~/.gnupg/unxwares-helm.gpg
helm install excalidash unxwares/excalidash --namespace excalidash --create-namespace \
--set frontend.url=https://draw.example.com \
--verify --keyring ~/.gnupg/unxwares-helm.gpg
See verifying signatures for details.
The only value a real install needs is frontend.url, the URL users open (the default,
https://excalidash.example.com, is a placeholder):
frontend:
url: https://draw.example.com
Behind an Ingress or a Gateway that terminates TLS, see Exposure and TLS (set
backend.trustProxy: "2" for per-client rate limits). For a quick test through a port-forward, the URL must be the
local one, since an https URL makes the backend redirect plain HTTP requests to it:
helm install excalidash unxwares/excalidash --namespace excalidash --create-namespace \
--set frontend.url=http://localhost:8080
kubectl -n excalidash rollout status deploy/excalidash-backend
kubectl -n excalidash port-forward svc/excalidash-frontend 8080:80
In local mode (the default), open the application right after the install: the first page asks whether to enable
authentication, and the first visitor decides. Once it is enabled, the backend prints a one-time setup code in
its logs (valid 15 minutes) and the first administrator registers with it:
kubectl -n excalidash logs deploy/excalidash-backend | grep -i setup
In the OIDC modes, the first user to log in through the provider becomes administrator (see Authentication and SSO).
Configuration
Public URL
frontend.url becomes FRONTEND_URL of the backend: the origin it accepts, the base of its redirects and of the
default OIDC redirect URI. When it starts with https://, the backend redirects every request that did not arrive
over HTTPS (according to X-Forwarded-Proto, which the frontend nginx forwards) to that URL, except /health.
Persistence
/app/prisma holds the SQLite database (db.sqlite), the migrations and the migration lock. It is a PVC by default:
backend:
persistence:
enabled: true
storageClass: fast-ssd
size: 5Gi
# or reuse an existing PVC (the chart then creates none):
# existingClaim: excalidash-data
The PVC carries helm.sh/resource-policy: keep: helm uninstall leaves it in place. With
backend.persistence.enabled: false, /app/prisma is an emptyDir: SQLite data is lost when the backend restarts
(NOTES print a warning), which is fine with PostgreSQL.
Database
SQLite is the default (backend.database.provider: sqlite, URL file:/app/prisma/db.sqlite): keep any SQLite URL
under /app/prisma. It supports the single backend replica the chart runs anyway.
PostgreSQL: set the provider and the URL, as a value (stored in the chart Secret) or in your own Secret:
backend:
database:
provider: postgresql
existingSecret: excalidash-db # key: database-url = postgresql://user:pass@host:5432/excalidash
backend:
database:
provider: postgresql
url: postgresql://excalidash:[email protected]:5432/excalidash
persistence:
enabled: false
backend.database.secretKeys.url names the key in existingSecret (database-url by default). The chart refuses
provider: postgresql without a postgres... URL or an existing Secret, and cannot check the content of the Secret.
The database must exist; the backend runs prisma migrate deploy at each start.
Exposure
Everything goes through the frontend Service: its nginx serves the application and proxies /api/ and /socket.io/
to the backend Service, so the backend never needs to be exposed. frontend.service.port (80) only changes the
Service port: the container listens on 8080.
frontend:
url: http://draw.internal.example.com:30080
service:
type: NodePort
Ingress: set ingress.enabled, ingress.className, ingress.hosts (only host is used: the chart always routes
/ with pathType: Prefix) and ingress.tls (see Ingress with TLS). The Ingress controller
must pass WebSockets and accept large bodies (ingress-nginx:
nginx.ingress.kubernetes.io/proxy-body-size: 50m).
Gateway API: set httpRoute.enabled, httpRoute.parentRefs (the default, gateway/http, is a placeholder),
httpRoute.hostnames and httpRoute.rules (matches and filters; each rule is sent to the frontend Service):
frontend:
url: https://draw.example.com
backend:
trustProxy: "2"
httpRoute:
enabled: true
parentRefs:
- name: main-gateway
namespace: gateway-system
sectionName: https
hostnames:
- draw.example.com
TLS and proxies
The chart does not terminate TLS: do it in the Ingress controller or the Gateway, and set frontend.url to the
https:// URL. backend.trustProxy (TRUST_PROXY) tells the backend how many proxies in front of it to trust for
X-Forwarded-* headers:
"1"(default): trusts the frontend nginx of the chart, which is always in front of the backend. The backend takes the scheme fromX-Forwarded-Proto, which nginx passes on from the proxy in front of it: behind an Ingress or a Gateway that terminates TLS, cookies get theSecureflag. The address its rate limits see is the one nginx sees: the client with aNodePortorLoadBalancerService, the Ingress controller behind an Ingress (all users then share one bucket)."2": also trusts one proxy in front of the frontend (your Ingress controller or
Deploy excalidash with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has excalidash on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartexcalidash is pinned at v2026.11.4 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply