LibreDB Studio on Kubero
July 8, 2026 · View on GitHub
Kubero is a self-hosted, open-source PaaS — a "Heroku alternative for Kubernetes" — that deploys 12-factor apps onto a cluster from a built-in template catalog.
LibreDB Studio is listed in the official
Kubero template catalog
(merged in kubero-dev/kubero#754).
The canonical template lives in the Kubero repo at
services/libredb-studio/app.yaml
as a KuberoApp custom resource; this folder is a documentation mirror, not the
source of truth.
Tracking issue: libredb-studio#173
Install
From a running Kubero instance (see the Kubero install docs to set one up):
- Open your Kubero dashboard → create or pick a pipeline/app, then browse Templates.
- Search for LibreDB Studio.
- Fill in the variables — admin/user credentials, a strong
JWT_SECRET(32+ chars), and any optional AI/storage settings. - Deploy.
What the template does
- Runs the prebuilt
ghcr.io/libredb/libredb-studioimage (pinned tag, never:latest) with thedockerdeployment strategy on container HTTP port3000. - Persists saved connections & settings with SQLite (
STORAGE_PROVIDER=sqlite) on a5GiReadWriteOnce volume mounted at/app/data, surviving restarts and redeploys — no external database required. - Ships configurable
ADMIN_EMAIL/ADMIN_PASSWORD,USER_EMAIL/USER_PASSWORD, andJWT_SECRETenv vars. The catalog defaults are placeholders — set real values before deploying.
First login
After deploy, open the app's public URL and log in:
- Admin (full access incl. maintenance tools):
admin@libredb.org+ yourADMIN_PASSWORD. - User (query execution only):
user@libredb.org+ yourUSER_PASSWORD.
Environment variables
See the main README environment table for the full list. Minimum required for a working Kubero deploy:
| Variable | Notes |
|---|---|
JWT_SECRET | 32+ chars, set your own |
ADMIN_EMAIL / ADMIN_PASSWORD | admin login |
USER_EMAIL / USER_PASSWORD | standard user login |
STORAGE_PROVIDER | sqlite (default here); postgres for an external backend |
Post-install options
Add these variables on the app to extend the deployment:
- SSO / OIDC —
NEXT_PUBLIC_AUTH_PROVIDER=oidc,OIDC_ISSUER,OIDC_CLIENT_ID,OIDC_CLIENT_SECRET,OIDC_ROLE_CLAIM,OIDC_ADMIN_ROLES. - PostgreSQL storage backend (multi-node) —
STORAGE_PROVIDER=postgres,STORAGE_POSTGRES_URL=.... - AI —
LLM_PROVIDER(gemini|openai|ollama|custom),LLM_API_KEY,LLM_MODEL,LLM_API_URL.
Version bumps
The catalog template pins a specific image tag. On each release, bump the tag in
the Kubero repo's services/libredb-studio/app.yaml (same manual-bump caveat as
the Railway and CapRover Docker-image templates).
More details and docs: https://github.com/libredb/libredb-studio