Self-hosted · No cloud · No telemetry
A mobile-first SQL client for MySQL and PostgreSQL.
Runs on your machine, on your network.
What it does
Ctrl+Enter runs the statement at the cursor; select text to run just that. Semicolons or blank lines separate statements.
Quick start
Run with Docker
No clone required — pull the image and go.
Create a docker-compose.yml
Start it
Open the app
Visit http://localhost:3000 and log in with the credentials you set above.
Clone & run dev mode
Full dev stack with hot reload — backend, frontend, and a seeded MySQL demo database included.
Clone and configure
Start the dev stack
3001 — users and countries tables, seeded and ready to explore with JOINs.
Open the app
Frontend at http://localhost:5172 — backend on :5050.
Configuration
| Variable | Required | Description |
|---|---|---|
BRICKSQL_USER |
yes | Username for login |
BRICKSQL_PASSWORD |
yes | Password for login |
JWT_SECRET |
yes | Secret used to sign auth tokens |
PORT |
no | Host port for the container (default: 3000). Dev mode uses PORT_BACK, PORT_FRONT, and PORT_DB instead. |
DATA_DIR |
no | Path for JSON data storage (default: /data) |
OLLAMA_URL |
no | Ollama base URL to enable AI mode (e.g. http://host.docker.internal:11434) |