Every variable across the Venelx components, grouped by where it's set. Annotated,
commit-safe templates live in the monorepo under env/*.env.example — regenerate local
.env files from them with ./scripts/bootstrap-env.sh all.
See the GitHub guide for the full
GITHUB_* table (OAuth client, callback URL, app slug, token sweep interval, PAT
fallbacks). GitLab equivalents: GITLAB_CLIENT_ID, GITLAB_CLIENT_SECRET,
GITLAB_HOST (optional).
Consume only this worker's named queue (recommended for fleets)
WORKER_NAME
mac-ios-1
Unique per machine
WORKER_PLATFORMS
ios / android-preview,android-production
Platforms this worker accepts — drives scheduler routing
API_URL
https://api.venelx.com
Control plane base URL
MAIN_HOST
127.0.0.1
Legacy host hint when API shares the Mac
REDIS_URL
same as API
BullMQ queue (must match the API exactly)
MONGODB_URI / DATABASE_URL / MONGODB_DB_NAME
same as API
Job status updates via Prisma
WORKER_AGENT_TOKEN
same as API
Ops-fleet auth — customer workers use WORKER_PAIRING_TOKEN instead
WORKER_PAIRING_TOKEN
from dashboard
One-time pairing token for customer self-hosted workers
VENELX_WORKER_CONFIG
~/.venelx/worker.env
Config file path for installed customer workers
FORGE_MASTER_SECRET
same as API
Decrypts signing material at build time
B2_UPLOAD_VIA_API
true
Upload artifacts via API presign — no B2 keys on workers
OUTPUT_DIR
~/.venelx/builds
Build workspace (clones, logs, local artifacts)
PROJECT_DIR / REPO_ROOT
host paths
Optional fixed checkouts
EXPO_TOKEN
—
Expo/EAS access for npm + EAS-managed steps
SKIP_PREBUILD
false
Skip Expo prebuild step
BUILD_TIMEOUT_MINUTES
60
Per-build timeout
ANDROID_HOME
/opt/android-sdk
Android SDK location (Android workers)
ANDROID_SERVICE_ACCOUNT_KEY
path to JSON
Play service account for submit
ANDROID_PACKAGE_NAME
com.example.app
Default package name for submit
WORKER_HEARTBEAT_INTERVAL_MS
45000
Heartbeat cadence
WORKER_CLAIM_POLL_MS
15000
Job-claim poll interval (WS/HTTP)
WORKER_WS_HTTP_FALLBACK_MS
30000
Drop to HTTP when the WebSocket is down this long
USE_TART_FOR_IOS / TART_VM_NAME
optional
Run iOS builds inside a Tart VM
GitHub OAuth client fields (GITHUB_CLIENT_ID, GITHUB_CLIENT_SECRET,
GITHUB_OAUTH_MODE) may also be set on local workers that run OAuth-dependent steps.