143 docs
Reference

Environment variables

Important environment variables for self-hosted 143 deployments.

Use these settings as the deployment contract for a self-hosted 143 environment. Exact names may vary by template, but the categories should remain stable across API, frontend, worker, database, Redis, GitHub, and LLM configuration.

Application

APP_ORIGINurl
Public origin for the 143 app.
SESSION_SECRETsecret
Secret used for session signing.
DATABASE_URLsecret
Postgres connection string.
REDIS_URLsecret
Redis connection string.

GitHub

GITHUB_APP_IDstring
GitHub App ID.
GITHUB_CLIENT_IDstring
GitHub OAuth client ID.
GITHUB_CLIENT_SECRETsecret
GitHub OAuth client secret.
GITHUB_WEBHOOK_SECRETsecret
Secret used to verify GitHub webhooks.
GITHUB_PRIVATE_KEYsecret
Private key for the GitHub App.

Workers

WORKER_PROCESS_COUNTinteger
Worker loops per host.
WORKER_MAX_ACTIVE_SANDBOXESinteger
Maximum live sandboxes on a worker host.
SANDBOX_CPU_LIMITstring
Sandbox CPU limit.
SANDBOX_MEMORY_LIMIT_MBinteger
Sandbox memory limit.
SANDBOX_DISK_LIMIT_GBinteger
Sandbox disk limit.

Secret handling

Production secrets should live in the deployment's encrypted secret system. Do not commit plaintext .env files.

On this page