scaledbox documentation

scaledbox is a Go module a product builds its own SaaS platform from: its operator's CLI and server, its customers' CLI, its dashboard and console, under its own name, on its own Hetzner and Cloudflare accounts. You declare your servers in a cluster file and your services in scaledbox.toml; your platform runs them, gives them databases, object storage and your own domains, and runs your customers' apps within the limits you set.

These pages show a product named shop: its CLIs are shop-ops and shop, its variables SHOP_*, its API https://api.shop.example, its own names under shop.example. Yours carry your brand's names.

Start here

Guides

The API

Your CLIs, dashboard and console use your platform's API, and so can your product's backend and CI. Its public API answers at your brand's address (https://api.shop.example), its OpenAPI document at /openapi.yaml and a browsable reference at /docs. The operator's API and dashboard are private: your operator's CLI reaches them through the control node, your browser through the access tunnel. Every request carries a token: Authorization: Bearer sbx_....