LibreDB Studio on Dokploy
July 9, 2026 · View on GitHub
Dokploy (Dokploy/dokploy) is a self-hosted, open-source deployment platform (an alternative to Heroku, Vercel, and Netlify) that runs Docker Compose services behind Traefik and installs apps from a built-in template catalog with one click.
LibreDB Studio is listed in the official
Dokploy template catalog LibreDB Studio Dokploy Template
(merged in Dokploy/templates#931).
The canonical blueprint lives in the Dokploy templates repo at
blueprints/libredb-studio/
(docker-compose.yml + template.toml); this folder is a documentation mirror,
not the source of truth.
Tracking issue: libredb-studio#171
Install
From a running Dokploy instance (see the Dokploy install docs to set one up):
- Open your Dokploy dashboard → create or pick a project → Create Service → Template.
- Search for LibreDB Studio.
- Deploy. Dokploy auto-generates
ADMIN_PASSWORD,USER_PASSWORD, andJWT_SECRETfrom the template's variable definitions (${password:32}/${password:64}) — no manual secret entry is needed. - Assign a domain (the template maps the service's port
3000), then open the app.
What the blueprint does
- Runs the prebuilt
ghcr.io/libredb/libredb-studioimage (pinned tag, never:latest) as a single container on HTTP port3000. - Persists saved connections & settings with SQLite
(
STORAGE_PROVIDER=sqlite) on a named Docker volume (libredb-data) mounted at/app/data, surviving restarts and redeploys — no external database required. - Generates unique per-install credentials at deploy time via Dokploy template variables, so no two installs share a password and nothing is baked into the image.
First login
Open the app's domain and log in:
- Admin (full access incl. maintenance tools):
admin@libredb.org+ the generatedADMIN_PASSWORD(visible in the service's Environment tab). - User (query execution only):
user@libredb.org+ the generatedUSER_PASSWORD.
Environment variables
See the main README environment table
for the full list. The blueprint sets the minimum for a working deploy
(ADMIN_EMAIL/ADMIN_PASSWORD, USER_EMAIL/USER_PASSWORD, JWT_SECRET,
STORAGE_PROVIDER=sqlite, STORAGE_SQLITE_PATH); optional AI (LLM_*) and
OIDC (OIDC_*) settings can be added in the service's Environment tab.
Keeping the listing fresh
The blueprint pins an image tag, so it does not track our releases automatically. Maintenance procedure:
- On security patches and notable feature releases, open a small PR against
Dokploy/templates bumping the
image:tag inblueprints/libredb-studio/docker-compose.ymlto the current release. - The env contract above is version-stable, so a tag bump is normally the only change needed.
- Track the currently pinned tag against our releases when preparing release notes.