Self-Hosting
Run the full SteerPlane stack (API, dashboard and Postgres) with Docker.
SteerPlane is open-source (MIT) and self-hostable. The full stack runs with Docker Compose: the FastAPI control plane, the Next.js dashboard, and PostgreSQL.
Clone the repo
git clone https://github.com/vijaym2k6/SteerPlane.git
cd SteerPlaneConfigure environment
cp .env.example .env
# set POSTGRES_PASSWORD (required), STEERPLANE_ADMIN_TOKEN, CORS_ORIGINS as neededBring up the stack
docker compose up -d| Service | URL |
|---|---|
| API + gateway | http://localhost:8000 |
| API docs (OpenAPI) | http://localhost:8000/docs |
| Dashboard | http://localhost:3000 |
One server for several teams
To share one SteerPlane server between several teams, use docker-compose.hosted.yml from the
repository instead. It always turns run auth on, requires an admin token, keeps Postgres off the
network and binds the API and dashboard to 127.0.0.1 behind your HTTPS proxy. Each team gets
its own API key and, after signing in to the dashboard with it, sees only its own runs.
cp .env.hosted.example .env.hosted # fill in every REQUIRED value
docker compose -f docker-compose.hosted.yml --env-file .env.hosted up -d --buildFull guide: hosted-deployment.md on GitHub. Requires SteerPlane 1.1.0 or later.
Manual (without Docker)
# API
cd api && pip install -r requirements.txt && alembic upgrade head
uvicorn app.main:app --reload
# Dashboard
cd dashboard && npm install && npm run devDatabase
SQLite is the default for local development (sqlite:///./steerplane.db); set DATABASE_URL to a
PostgreSQL DSN for production. Schema changes are managed with Alembic migrations.
Point your SDK or gateway client at your own deployment by setting STEERPLANE_API_URL (or
api_url in .steerplane.yml).