Skip to content

Configuration reference ​

Copy .env.example to .env for local development. Variable names are documented here; values belong only in the approved secret store or local ignored file.

GroupVariablesLocal requirementPurpose
Core runtimeDATABASE_URL, SESSION_SECRET, NODE_ENV, HOST, PORT, APP_URLDATABASE_URL required; use a non-production databaseDatabase, session signing, listener, and public URL
Object storageR2_ENDPOINT, R2_ACCESS_KEY_ID, R2_SECRET_ACCESS_KEY, R2_BUCKET_NAMERequired only for upload/download pathsObject-store client and bucket
EmailRESEND_API_KEY, EMAIL_ENABLED, EMAIL_FROM_ADDRESS, EMAIL_DEBUG_TO, EMAIL_MAX_RPS, SUPPORT_EMAIL, INQUIRY_NOTIFY_EMAILS, HR_NOTIFY_EMAILS, EMAIL_NOTIFY_ON_NEW_DOCUMENTEmail is disabled unless explicitly enabledOutbound notification controls
Public anti-botVITE_RECAPTCHA_SITE_KEY, RECAPTCHA_SECRET_KEY, DEBUG_RECAPTCHA, DISABLE_RECAPTCHARequired only for protected public formsBrowser/server anti-bot verification
ObservabilitySENTRY_DSN, SENTRY_ENVIRONMENT, SENTRY_RELEASE, SENTRY_TRACES_SAMPLE_RATE, SENTRY_TEST_ENDPOINT_ENABLEDOptional; no provider is configured by this documentationError-tracking integration when an approved DSN is bound
AI integrationAI_INTEGRATIONS_OPENAI_API_KEY, AI_INTEGRATIONS_OPENAI_BASE_URLOptionalApproved AI integration configuration
Paperclip feedback routingPAPERCLIP_API_URL, PAPERCLIP_API_TOKEN, PAPERCLIP_COMPANY_IDOptionalFeedback-to-Paperclip routing
Platform metadataRAILWAY_GIT_COMMIT_SHAPlatform-providedRelease/observability metadata
Audit and screenshot toolsAUDIT_CLEANUP_MARKER, AUDIT_VERIFY_BASE_URL, SCREENSHOT_BASE_URL, SCREENSHOT_ADMIN_EMAIL, SCREENSHOT_ADMIN_PASSWORD, SCREENSHOT_STAFF_EMAIL, SCREENSHOT_STAFF_PASSWORD, SCREENSHOT_CLIENT_EMAIL, SCREENSHOT_CLIENT_PASSWORD, SCREENSHOT_IDS_JSON, SCREENSHOT_OUTTest-onlyExplicit audit/visual-test input; never commit values

HOME is read only by legacy local scripts and is not application configuration.

Guardrails ​

  • Production values, credentials, and provider configuration are never copied into documentation, test output, issues, or commits.
  • NODE_ENV=production requires SESSION_SECRET; the app exits at startup without it.
  • Do not set EMAIL_ENABLED=true or SENTRY_TEST_ENDPOINT_ENABLED=true during an unapproved verification run.
  • New variables require a matching .env.example and this page in the same PR.

Bizcom Portal Guide