Skip to content
hyperbeamDocs
Deploy

Configuration

Every server setting that matters, with its environment variable and default.

The server is configured with environment variables, or the matching command-line flags. hyperbeam-server serve --help lists every option.

Core

VariableDefaultMeaning
HYPERBEAM_DATABASE_URLnone (required)Postgres connection URL.
HYPERBEAM_MASTER_KEYnoneThe master key itself: 32 random bytes, base64. Encrypts stored credentials.
HYPERBEAM_MASTER_KEY_AWS_SECRETnoneName or ARN of an AWS Secrets Manager secret that holds the master key.
HYPERBEAM_MASTER_KEY_AWS_KMS_KEYnoneID, alias or ARN of an AWS KMS key. The master key is generated on first start and stored in Postgres, encrypted by this key.
HYPERBEAM_LISTEN0.0.0.0:8080Address the server listens on.
HYPERBEAM_PUBLIC_URLhttp://localhost:8080Where people reach the UI. Used in invite links, and as where OAuth sign-ins for connections come back to, so it must be the address admins’ browsers use.
HYPERBEAM_INTERNAL_URLhttp://127.0.0.1:8080Where sandboxes reach the server.

Exactly one of the three master key settings is required. See Credentials. To change the key of an installation that holds credentials, use rotate-master-key.

Sandboxes

VariableDefaultMeaning
HYPERBEAM_SANDBOX_DRIVERprocessprocess runs agents as local processes with no isolation, for development. kubernetes runs one pod per session.
HYPERBEAM_IDLE_TIMEOUT_SECS900Tear down an idle session’s sandbox after this long. The session can still be resumed.
HYPERBEAM_START_TIMEOUT_SECS600Give up on a sandbox that has not connected within this long.
HYPERBEAM_MAX_SESSIONS20Most sandboxes running at once. Others queue.
HYPERBEAM_RUNNER_BINnext to the serverProcess driver: path to hyperbeam-runner.
HYPERBEAM_WORKSPACE_ROOThyperbeam-sandboxes in the system temp directoryProcess driver: where workspaces are created.

Kubernetes

VariableDefaultMeaning
HYPERBEAM_K8S_NAMESPACEhyperbeam-agentsNamespace sandboxes run in.
HYPERBEAM_RUNNER_IMAGEghcr.io/sam-jeston/hyperbeam/runner:latestImage that carries the runner binary. The chart sets it from agents.runnerImage.
HYPERBEAM_K8S_IMAGE_PULL_POLICYIfNotPresentPull policy for sandbox images.
HYPERBEAM_K8S_CPU_LIMIT2CPU limit per sandbox.
HYPERBEAM_K8S_MEMORY_LIMIT4GiMemory limit per sandbox.
HYPERBEAM_K8S_WORKSPACE_SIZE10GiWorkspace size per sandbox.

Network egress

VariableDefaultMeaning
HYPERBEAM_EGRESS_LISTENnoneAddress for the egress proxy to listen on. Setting it enables the proxy.
HYPERBEAM_EGRESS_ADDRnonehost:port sandboxes use to reach the egress proxy.
HYPERBEAM_EGRESS_ALLOWpackage registriesHosts every sandbox may reach. The default allows npm, PyPI, crates.io and the Go module proxy.

Admins can add more hosts under Settings → General, and each harness profile adds its own. See Network egress.

Web access

VariableDefaultWhat it does
HYPERBEAM_WEB_ALLOW_PRIVATEfalseLet web_fetch read pages on private and loopback addresses, for documentation on an internal network. With it on, an agent can read anything the server can reach.

Which pages agents may read is set under Settings → General. See Web access.

Integrations

These point Hyperbeam at the services’ APIs. Change them only for testing or a self-hosted GitHub. A self-hosted GitLab’s address is set where GitLab is connected, under Settings → Integrations.

VariableDefault
HYPERBEAM_GITHUB_API_URLhttps://api.github.com
HYPERBEAM_GITHUB_GIT_URLhttps://github.com
Esc

Type to search pages and sections.