How to self host openstatus
If you want to self host openstatus, we provide a docker-compose file to get you started quickly.
Known limitations
Section titled “Known limitations”- It only works with private locations. You have to deploy our probes to the cloud provider of your choice.
Get started
Section titled “Get started”- Clone the repository
git clone- Copy the
.env.examplefile to.envand modify the environment variables as needed.
cp .env.docker.example .env.docker- Build the containers
export DOCKER_BUILDKIT=1docker compose up -d- Migrate the database
cd packages/dbpnpm migrate- Create Tinybird datasources, pipes and endpoints
cd packages/tinybirdtb --local deploy- Access Tinybird local UI and get your TOKEN
tb --local open-
Update the
.env.dockerfile with your Tinybird TOKEN -
Connect to your OpenStatus instance and create a new workspace.
-
Update your newly created workspace with the following limits:
{ "monitors": 100, "periodicity": ["30s", "1m", "5m", "10m", "30m", "1h"], "multi-region": true, "data-retention": "24 months", "status-pages": 20, "maintenance": true, "status-subscribers": true, "custom-domain": true, "password-protection": true, "white-label": true, "notifications": true, "sms": true, "pagerduty": true, "notification-channels": 50, "members": "Unlimited", "audit-log": true, "private-locations": true}-
Create a new private location in the dashboard.
-
Deploy the private location to your cloud provider of choice with your location api key
OPENSTATUS_KEY, andOPENSTATUS_INGEST_URL.
The docker image of the private location is ghcr.io/openstatushq/private-location:latest
- Create monitors and start monitoring your services!

Our services Services
Section titled “Our services Services”| Service | Port | Purpose |
|---|---|---|
| workflows | 3000 | Background jobs |
| server | 3001 | API backend (tRPC) |
| dashboard | 3002 | Admin interface |
| status-page | 3003 | Public status pages |
| private-location | 8081 | Monitoring agent |
| libsql | 8080 | Database (HTTP) |
| libsql | 5001 | Database (gRPC) |
| tinybird-local | 7181 | Analytics |