Self-Hosting & Operations
Running your own cns-server instance: how the Profile
is assembled from environment variables, the complete variable reference, standing up
the reference infrastructure, the local dev fixture, and how this documentation site
itself gets deployed.
- Profiles & adapter selection — how
cmd/cns-serverpicks an implementation per seam at boot. - Environment variables — the complete
internal/configreference. - Infrastructure setup — ClickHouse, Centrifugo, AWS SSM, identity.
- The dev fixture —
scripts/dev-fixture.shin depth. - Deploying these docs — how this documentation site is built and hosted.
:::note Scope
CNS itself (cns-server) is a Go binary you deploy however you deploy Go services —
this section documents its configuration surface, not a specific hosting
recommendation for the server itself. The one deployment target this section does
prescribe is for the documentation site you're reading.
:::