chartdb
by QuenchWorks
ChartDB: database diagram editor and visualizer: import a schema with one query, edit ER diagrams, export DDL; data stays in the browser. Static app with cloud links and analytics off by default. Hardened by QuenchWorks: built from source, CVE-gated, cosign-signed and pinned by digest.
About this chart
Quenchworks ChartDB
Hardened ChartDB: a database diagram editor and visualizer. Import a schema with one query (PostgreSQL, MySQL, SQL Server, SQLite, ClickHouse and more), edit ER diagrams, export DDL. Diagrams stay in the browser. The image builds the app from source and serves it with nginx as uid 1001 on a read-only root filesystem; it is CVE-gated at build, cosign-signed and pinned by digest.
Install
helm install erd oci://ghcr.io/quenchworks/charts/chartdb --set tls.enabled=true
Configuration
| Key | Default | What it does |
|---|---|---|
hideCloud | true | Hide the links to ChartDB's hosted cloud |
disableAnalytics | true | Turn the app's analytics off |
ai.apiKey, ai.endpoint, ai.model | "" | Optional AI features; /config.js is public, so the key is too |
tls.enabled | false | Native TLS on the same port (existingSecret, cert-manager or a Helm-generated CA) |
Verify the image
cosign verify ghcr.io/quenchworks/images/chartdb \
--certificate-identity-regexp 'https://github.com/quenchworks/.+' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com
Deploy chartdb with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has chartdb 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 chartchartdb is pinned at v0.0.2 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