selfhostedworld.com logoselfhostedworld.com

Try describing what you need:

LibreDB Studio logo

LibreDB Studio

★ 1.2k
MIT LicenseOpen Source — No Paywall2 Containers — 2 containers — light hosting footprintDocker · K8s · PackageNeeds Postgres43+ active committers (12mo)

About

LibreDB Studio is a lightweight, browser-based SQL IDE aimed at engineering teams that need a full-featured database workbench without relying on heavy desktop clients. It combines querying, schema...

Community Ratings

No ratings yet

Features

  • SQL editor
  • smart autocomplete
  • multi-tab workspace
  • visual EXPLAIN
  • interactive ER diagrams
  • schema diff and migration
  • snapshot timeline
  • NL2SQL
  • query safety analysis
  • CSV and JSON export

Details

Last Updated
Oct 19, 2026
Created
Dec 23, 2025
Install Methods
dockerkubernetespackage-manager
Requirements
PostgreSQLMySQLOracleSQL ServerMongoDBRedisSQLiteOIDC-compliant identity provider
Authentication
localoidc-sso
Backup & Export
native-exportapi-export
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 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 Sep 23, 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.

Metadata extracted from README on Jul 23, 2026

Related Software

Superset logo

Superset

75.2k
A modern, enterprise-ready business intelligence web application for data exploration and visualization.
Analytics ToolsPermissive LicenseDatabase Management+1
10 Containers
Details
Appwrite logo

Appwrite

57.7k
Appwrite is an open-source development platform that provides backend infrastructure, authentication, databases, storage, functions, messaging, and web hosting in one place.
Low Code DevelopmentPermissive LicenseSelf Hosting Solutions+4
36 Containers
Details
PocketBase logo

PocketBase

61.5k
PocketBase is an open source Go backend with an embedded SQLite database, realtime subscriptions, built-in files and user management, an admin dashboard, and a simple REST-ish API.
Low Code DevelopmentPermissive LicenseDatabase Management+3
Details
Appsmith logo

Appsmith

41.1k
An open-source low-code platform for building, deploying, and maintaining custom applications.
Low Code DevelopmentPermissive LicenseAutomation Tools+3
Details
Coolify logo

Coolify

63.2k
Coolify is an open-source, self-hostable platform for managing servers, applications, and databases as an alternative to Heroku, Netlify, and Vercel.
Platform as a ServiceSelf Hosting SolutionsPermissive License+3
4 Containers
Details
Payload CMS logo

Payload CMS

45.3k
A Next.js-native headless CMS that installs directly into an existing `/app` folder.
CMS PlatformsPermissive LicenseWebsite Builders+5
FOSS with Issues
Details
drawDB logo

drawDB

40.1k
DrawDB is a browser-based database schema and ERD editor that can also generate SQL and migrations.
Database Management
Single Container
Details
Bytebase logo

Bytebase

14.6k
Bytebase is an open-source database governance platform for controlling change management, access control, and compliance across databases.
Database ManagementPermissive LicenseAutomation Tools+2
Single Container
Details
Dokploy logo

Dokploy

37.9k
Dokploy is a self-hostable Platform as a Service for deploying and managing applications and databases.
Platform as a ServiceSelf Hosting SolutionsPermissive License+4
FOSS with Issues
Details
Redash logo

Redash

28.8k
Redash is a browser-based data exploration and dashboarding tool for querying, visualizing, sharing, and scheduling updates from many data sources.
Analytics ToolsPermissive LicenseDatabase Management+1
Details
MeiliSearch logo

MeiliSearch

59.6k
A lightning-fast search engine that fits into apps, websites, and workflows, with built-in features for relevant search experiences.
Search EnginesPermissive LicenseDatabase Management+1
Details
Druid logo

Druid

14.1k
Apache Druid is a high-performance real-time analytics database for fast querying and ingestion.
Analytics ToolsPermissive LicenseDatabase Management
Details