A lightweight, Docker native database administration tool for managing databases
2.2K
A lightweight, Docker-native database administration UI for developers.






Add DockAdmin alongside your existing database containers:
services:
# Your existing database
postgres:
image: postgres:16
environment:
POSTGRES_USER: admin
POSTGRES_PASSWORD: admin
POSTGRES_DB: myapp
# ... your other config
# Add DockAdmin
dockadmin:
image: demlabz/dockadmin
ports:
- '3000:3000'
Then run:
docker compose up -d
Open http://localhost:3000β and connect to your database using the container name as the host (e.g., postgres).
docker run -p 3000:3000 demlabz/dockadmin
Note: When running standalone, use your database's accessible host/IP to connect.
Want to contribute? See the Contributing Guideβ for development setup instructions.
DockAdmin can be configured via environment variables:
| Variable | Description | Default |
|---|---|---|
PORT | Server port | 3000 |
RUST_LOG | Log level (debug, info, warn, error) | info |
DockAdmin exposes a RESTful API for all database operations.
| Endpoint | Method | Description |
|---|---|---|
/api/connect | POST | Connect to a database |
/api/status | GET | Check connection status |
/api/schema/tables | GET | List all tables |
/api/table/{name} | GET | Browse table data |
/api/query | POST | Execute raw SQL |
| Component | Technology |
|---|---|
| Backend | Rust, Axum, SQLx |
| Frontend | React 19, TypeScript, TanStack Router |
| UI Components | shadcn/ui, Radix UI, Tailwind CSS |
| Editor | CodeMirror 6 |
| Container | Docker, Alpine Linux |
Contributions are welcome! Please read our Contributing Guideβ before submitting a Pull Request.
git checkout -b feature/amazing-feature)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)This project is licensed under the MIT License - see the LICENSEβ file for details.
Made with β€οΈ by Mr-Malomzβ
Content type
Image
Digest
sha256:e7ae52326β¦
Size
7.6 MB
Last updated
7 months ago
docker pull demlabz/dockadmin