Handbook - Configuration

Local Configuration

Local mode is the default CloudGrid development path.

On this page

Local mode is the default CloudGrid development path.

CLOUDGRID_DEPLOYMENT_MODE=local
CLOUDGRID_AUTH_MODE=local

It creates a trusted local workspace with no login and a visible Personal company. Do not expose local mode to untrusted networks.

Local Projects

CloudGrid local mode uses durable local projects:

Project IDNamePurpose
defaultDefault projectApplication telemetry and normal local testing.
cloudgrid-systemCloudGridCloudGrid service telemetry when self-observability is enabled.

Both projects are visible in the project picker. The cloudgrid-system project is fixed in local mode; attempts to change its name, slug, or status must be rejected.

bun run setup:local
bun run dev:infra
bun run dev:all

setup:local configures token routing for default and cloudgrid-system, then dev:infra starts NATS and SurrealDB.

Minimal Local Mode

If you do not configure local project tokens, anonymous local ingest uses:

CLOUDGRID_OTLP_LOCAL_PROJECT_ID=default

This fallback is for single-project development only. It does not route CloudGrid self-observability into cloudgrid-system.

Local Config Files

FilePurpose
.envLocal values consumed by scripts and Docker Compose.
.env.exampleExample values and image versions.
compose.yamlLocal NATS and SurrealDB infrastructure.
deploy/compose/cloudgrid.compose.yamlRelease Compose stack using published CloudGrid images.
deploy/compose/cloudgrid.env.exampleRelease Compose environment example.

Next Step

Use Local setup script for repeatable source setup, or Run the release Compose stack for published images.

Last updated .