Legend
Minimal Required Variables
These variables are required for a functional Docker deployment:All Variables by Category
Database
Authentication
Microsoft sign-in only creates a user, or links to an existing one, when the ID token proves the email address. Accounts already linked keep working. In the Entra app registration, add the optional ID-token claims
email, xms_edov, verified_primary_email and verified_secondary_email, and leave acceptMappedClaims off. Without them, first-time Microsoft sign-ins end with account_not_linked.
Workflows (Trigger.dev)
AWS S3 Storage
AWS S3 variables are required for file upload features (attachments, logos, questionnaires). Without them, these features will fail.
AI Providers
Rate Limiting & Caching (Upstash)
Analytics & Tracking
Vercel (Trust Portal Domains)
Slack app (internal /comp command)
Used by the API (apps/api) for the Comp AI team’s /comp Slack slash command. Self-hosted deployments can leave these unset; the command then refuses every request.

