LibreDB Studio
★ 1.4kAbout
Community Ratings
No ratings yetNew this week
Read recap →Features
- browser-based database editor
- PostgreSQL and other engine support
- ER diagrams
- schema diff
- monitoring
- seed connections
- OIDC and JWT login for live test
- zero-config first run
Details
- Last Updated
- Dec 2, 2026
- Created
- Dec 23, 2025
- Install Methods
- dockerhelmpackage-managersource
- Requirements
- Node.js 24+Docker
- Default Port
- 3000web UI
- Authentication
- oidc-ssolocal
- Runtime / Stack
- DockerK8S
- Privacy & Independence
- Cloud: Optional
- User Model
- Multi-User
- Deployment
Deployment: Docker Compose ✓2 Containers — light hosting footprintRuns as 2 containers
Run LibreDB Studio yourself
Pick how much you want to manage.
HostingerSponsored
Full control
A small server, then Docker Compose.
About 20 minutes with Docker
netcupBest match
Full control
A small server, then Docker Compose.
About 20 minutes with Docker
Hetzner
Full control
A small server, then Docker Compose.
About 20 minutes with Docker
3 more ways to host
Some links earn us a commission. netcup pays us one and is our preferred VPS host. Hostinger is a paid sponsor and is listed first.
Is this your project? Sponsor a listing
Run LibreDB Studio with Docker Compose
Compose file from the LibreDB Studio project repository.
2 services · database: postgres · infra: postgres
no resource limits declared
needs persistent storage (2 volumes)
docker-compose.yml · @ 06a4cb1 · scanned Nov 3, 2026
services:
app:
build:
context: .
dockerfile: Dockerfile
args:
BASE_PATH: ${BASE_PATH:-}
ports:
- "3000:3000"
environment:
- LLM_PROVIDER=${LLM_PROVIDER:-gemini}
- LLM_API_KEY=${LLM_API_KEY}
- LLM_MODEL=${LLM_MODEL:-gemini-2.5-flash}
- LLM_API_URL=${LLM_API_URL}
- STORAGE_PROVIDER=${STORAGE_PROVIDER:-local}
- STORAGE_SQLITE_PATH=${STORAGE_SQLITE_PATH:-/app/data/libredb-storage.db}
- STORAGE_POSTGRES_URL=${STORAGE_POSTGRES_URL}
# The agent's run history, and half of what decides whether the agent exists
# at all: it appears once LLM_API_KEY above is set AND this path is writable
# (docs/AGENT.md). The image already defaults this to the same path, so this
# line is an explicit restatement plus the override hook - without either,
# the workflow SDK would resolve ".workflow-data" against the working
# directory, i.e. /app/.workflow-data, which is writable but is NOT the
# mounted volume below: nothing would fail loudly, and runs would disappear
# on the next `docker compose up` that recreates the container. Keep it
# inside /app/data. A plain `docker run` inherits the image default and
# needs only a volume on /app/data, or the run history dies with the
# container.
- WORKFLOW_LOCAL_DATA_DIR=${WORKFLOW_LOCAL_DATA_DIR:-/app/data/workflow}
# Uncomment to keep the AI configuration above and have no agent. Unset means
# derive: with a key configured, the agent appears.
# - LIBREDB_AGENT_ENABLED=false
# Uncomment to enable pre-configured database connections:
# volumes:
# - ./seed-connections.yaml:/app/config/seed-connections.yaml:ro
# environment:
# SEED_CONFIG_PATH: /app/config/seed-connections.yaml
volumes:
- storage-data:/app/data
libredb-postgres:
image: postgres:18
container_name: libredb-postgres
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: libredb_storage
ports:
# Loopback only: this database ships with postgres/postgres committed in this file,
# so it must not answer on the host's LAN address.
- "127.0.0.1:5432:5432"
volumes:
# PostgreSQL 18+ images expect the mount at /var/lib/postgresql, not /var/lib/postgresql/data.
# A pgdata volume from the old layout has to be removed once: run docker compose down, then
# docker volume rm on the volume whose name ends in _pgdata (find it with docker volume ls).
# Do not use down -v here, because that would also delete storage-data.
- pgdata:/var/lib/postgresql
volumes:
storage-data:
pgdata:
This file may be out of date. Check the LibreDB Studio documentation for current setup steps.
Track your self-hosted stack
Bookmark software to try, rate tools you've used, and keep your collection in one place.
