Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Controller

controller is the Rust control-plane runtime used for service registration, control transport and bounded execution coordination. It is normally reachable inside the Compose network rather than published directly to the host.

Configuration groups

VariablesPurpose
CONTROLLER_ADDR, CONTROLLER_EXECUTION_PORTListener and execution transport addresses.
CONTROLLER_HOST_ID, CONTROLLER_USER_IDPortal identity and ownership context.
DATABASE_URL, DATABASE_MAXIMUM_POOL_SIZEPortal control-plane database connection.
CONTROLLER_EXECUTION_DATABASE_URL_FILEProtected operational execution database URL.
CONTROLLER_EXECUTION_BINDING_ID, CONTROLLER_EXECUTION_BINDING_DIGESTApproved operational-store binding.
CONTROLLER_EXECUTION_EXPECTED_DATABASE, CONTROLLER_EXECUTION_MINIMUM_SCHEMA_GENERATIONDatabase and migration fences.
CONTROLLER_EXECUTION_ENVIRONMENT, CONTROLLER_EXECUTION_REQUIRED_SCOPERuntime environment and authorization boundary.
MICROSERVICE_JWKS_URL, MICROSERVICE_JWT_AUDIENCEJWT verification contract.
CONTROLLER_TLS_CERT_PATH, CONTROLLER_TLS_KEY_PATH, CONTROLLER_TLS_TRUST_CERT_PATHTLS identity and trust.
CONTROLLER_RUNNER_ENABLED, CONTROLLER_MCP_MUTATIONS_ENABLEDExplicit capability switches.

Dependencies and readiness

Controller depends on PostgreSQL, OAuth where JWT verification is required, and successful operational bootstrap/validation. A valid operational binding must match host, environment, database, schema generation and digest; bypassing one field weakens the binding contract.

Runtime services often depend on Controller registration. Check Controller logs before diagnosing downstream registry timeouts.