Reference

Platform reference

Platform-injected environment variables, domains, and CLI configuration files.

CLI configuration

PathPurpose
.bytstack/config.jsonLinked serviceId, optional projectId / apiUrl
~/.bytstack/credentials.jsonStored API token after bytstack login

Environment overrides:

VariablePurpose
BYTSTACK_API_URLControl plane API base URL
BYTSTACK_TOKENAPI token (overrides stored credentials)

Workload environment

Injected into running services (names may grow over releases):

VariablePurpose
PORTHTTP port for web services
NODE_ENVRuntime environment
DATABASE_URLInternal Postgres URL when attached
BYTSTACK_SERVICE_IDService identifier
BYTSTACK_DEPLOYMENT_IDDeployment identifier
BYTSTACK_APEX_HOSTApex host for SaaS / path routing
BYTSTACK_API_PATHAPI path prefix for path-split apps
BYTSTACK_EDGE_TARGETEdge routing metadata

Domains

KindTypical pattern
Platform app URL*.bytstack.app
Marketingbytstack.com
External Postgres*.postgres.bytstack.app
Internal DB DNS*.internal.bytstack

Local/dev hostnames may use bytstack.local depending on your cluster setup.

Deploy statuses

queuedcloningbuildingpublishingreleasinglive (or a failure terminal state).