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_ORIGINurlPublic origin for the 143 app.
SESSION_SECRETsecretSecret used for session signing.
DATABASE_URLsecretPostgres connection string.
REDIS_URLsecretRedis connection string.
GitHub
GITHUB_APP_IDstringGitHub App ID.
GITHUB_CLIENT_IDstringGitHub OAuth client ID.
GITHUB_CLIENT_SECRETsecretGitHub OAuth client secret.
GITHUB_WEBHOOK_SECRETsecretSecret used to verify GitHub webhooks.
GITHUB_PRIVATE_KEYsecretPrivate key for the GitHub App.
Workers
WORKER_PROCESS_COUNTintegerWorker loops per host.
WORKER_MAX_ACTIVE_SANDBOXESintegerMaximum live sandboxes on a worker host.
SANDBOX_CPU_LIMITstringSandbox CPU limit.
SANDBOX_MEMORY_LIMIT_MBintegerSandbox memory limit.
SANDBOX_DISK_LIMIT_GBintegerSandbox disk limit.
Secret handling
Production secrets should live in the deployment's encrypted secret system. Do not commit plaintext .env files.