Modern web database studio for PostgreSQL, MySQL, MongoDB, ClickHouse & Redis โ rutvikraut.com
1.7K
A modern, open-source database studio for developers. Browse data, run queries, visualize schemas and manage indexes across PostgreSQL, MySQL / MariaDB, MongoDB, ClickHouse and Redis โ from a single, lightweight web UI.
๐ Website: rutvikraut.comโ ๐ป Source: github.com/rutvikraut2001/dbpilotโ ๐ License: MIT
docker run -d --name db-studio -p 3030:3030 --restart unless-stopped 30rutvik/db-studio:latest
Open http://localhost:3030โ and paste a connection string.
Inside the container, localhost refers to the container itself. To reach a database running on your host:
Docker Desktop (macOS / Windows): use host.docker.internal as the host โ DB Studio also retries localhost connections against it automatically.
Linux: add the host gateway mapping:
docker run -d -p 3030:3030 --add-host=host.docker.internal:host-gateway 30rutvik/db-studio:latest
or run with --network host (then open http://localhost:3030โ ).
services:
db-studio:
image: 30rutvik/db-studio:latest
ports:
- "3030:3030"
environment:
- FORCE_READ_ONLY=false
- AUDIT_LOG_ENABLED=true
- RATE_LIMIT_MAX_REQUESTS=100
extra_hosts:
- "host.docker.internal:host-gateway"
restart: unless-stopped
| Database | Browse & edit data | Queries | Schema / ER diagram |
|---|---|---|---|
| PostgreSQL | Full CRUD | SQL | โ |
| MySQL / MariaDB | Full CRUD | SQL | โ |
| MongoDB | Full CRUD | MQL (JSON) | โ (inferred) |
| ClickHouse | Read + append | SQL | โ |
| Redis | Key browser, TTL, flush | Commands | โ |
postgresql://user:password@host:5432/database
mysql://user:password@host:3306/database
mongodb://user:password@host:27017/database?authSource=admin
clickhouse://default:password@host:8123/default
redis://host:6379/0
The database name is optional for SQL servers โ connect to the server and pick a database from the sidebar.
Data browsing & editing
Queries, schema & indexes
Connections
Safety
| Variable | Default | Description |
|---|---|---|
PORT | 3030 | Port the server listens on inside the container |
FORCE_READ_ONLY | false | true blocks all writes for every connection โ recommended for production databases |
AUDIT_LOG_ENABLED | true | Record write operations in the audit log |
AUDIT_LOG_MAX_ENTRIES | 1000 | Maximum audit entries kept in memory |
RATE_LIMIT_MAX_REQUESTS | 100 | Max API requests per client per window |
RATE_LIMIT_WINDOW_MS | 60000 | Rate-limit window in milliseconds |
Example โ a locked-down, read-only instance:
docker run -d -p 3030:3030 -e FORCE_READ_ONLY=true 30rutvik/db-studio:latest
node:20-alpine, multi-stage build (Next.js standalone output)3030nextjs, uid 1001)latest tracks the newest releaseFORCE_READ_ONLY=true when pointing at production.Built and maintained by Rutvik Raut ยท rutvikraut.comโ
Content type
Image
Digest
sha256:303bd2a81โฆ
Size
54.1 MB
Last updated
2 days ago
docker pull 30rutvik/db-studio