Maverick Docs

Environment Variables

Every environment variable with types, defaults, and descriptions

5 required | 32 optional

Required Variables

The application will fail to start without these.

VariableTypeDescription
SUPABASE_URLstr
SUPABASE_KEYstrAnon key
SUPABASE_SERVICE_ROLE_KEYstr
XPRESSDOCS_USERNAMEstr
XPRESSDOCS_PASSWORDstr

Optional Variables

VariableTypeDefaultDescription
API_HOSTstr"0.0.0.0"
API_PORTint8000
API_RELOADboolTrue
API_V1_PREFIXstr"/api/v1"
SUPABASE_JWT_SECRETOptional[str]NoneJWT secret for token verification
REDIS_BROKER_URLstr"redis://localhost:6379/0"
REDIS_BACKEND_URLstr"redis://localhost:6379/0"
DEBOUNCE_API_KEYOptional[str]None
DEBOUNCE_RATE_LIMITint10Requests per minute (adjust based on your plan)
DEBOUNCE_BULK_UPLOAD_URLstr"https://bulk.debounce.io/v1/upload/"
DEBOUNCE_BULK_STATUS_URLstr"https://bulk.debounce.io/v1/status/"
DEBOUNCE_BULK_THRESHOLDint50Switch to bulk API when batch > this size
DEBOUNCE_BULK_MAX_BATCH_SIZEint200000Max emails per upload
DEBOUNCE_BULK_POLL_INTERVALint10Seconds between status checks
DEBOUNCE_BULK_TIMEOUTint216006 hours max wait for large batches
USE_BULK_VERIFICATIONboolTrueEnable bulk verification for large batches
EMAIL_BISON_API_URLstr"https://send.maverickmarketingllc.com/api"
EMAIL_BISON_API_KEYOptional[str]None
EMAIL_BISON_WORKSPACE_IDOptional[str]NoneDefault workspace ID
SLACK_WEBHOOK_URLOptional[str]None
SECRET_KEYstr""Must be set from environment, no default
ALGORITHMstr"HS256"
ACCESS_TOKEN_EXPIRE_MINUTESint30
ENVIRONMENTstr"development"
ALLOWED_ORIGINSstr"http://localhost:3000,http://localhost:3001"
WEBHOOK_SECRETstr""Secret for webhook signature validation
CSV_FIELD_SIZE_LIMIT_BYTESint"1024 * 1024"1MB per field
SENTRY_DSNOptional[str]None
VERSIONstr"1.0.0"
MASTER_CONTACTS_API_URLOptional[str]None
MASTER_CONTACTS_API_KEYOptional[str]None
MASTER_CONTACTS_ENABLEDboolFalseSet to True when master contacts service is ready

Environment Files

FilePurposeIn Git?
backend/.envLocal developmentNo
backend/.env.productionProduction (server-local)No
backend/.env.betaBeta (server-local)No
frontend/apps/dashboard/.env.localLocal frontendNo
frontend/apps/dashboard/.env.productionProduction frontendNo
frontend/apps/dashboard/.env.betaBeta frontendNo

On this page