Required environment variables
These are the variables every Scani deployment must set. Optional
integration keys live on the
next page; the full annotated
list lives in .env.example
and is enumerated in the Environment variables reference.
Auth & secrets
Section titled “Auth & secrets”Public URLs
Section titled “Public URLs”Tier wiring
Section titled “Tier wiring”Object storage
Section titled “Object storage”Pick one. Booting with neither configured fails on the first email send.
Logging
Section titled “Logging”Sanity check
Section titled “Sanity check”Before booting production:
# Read back every required-in-prod vardocker compose -f docker-compose.prod.yml config | grep -E '^(\s+)?(DATABASE_URL|REDIS_URL|BETTER_AUTH_SECRET|ENCRYPTION_KEY|JOBS_HMAC_SECRET|FRONTEND_URL|BACKEND_URL|SCANI_CLOUD_API_KEY|DATA_PROVIDER_API_KEY|LOG_ID_PEPPER):'
# A missing required var fails with a readable messagedocker compose -f docker-compose.prod.yml up -d