Skip to Content
Paxper Documentation is under active development. Check back often for updates!
DeploymentEnvironment Variables

Environment Variables

Configuration options for Paxper deployments.

Environment variables are only applicable for self-hosted Enterprise deployments. Paxper Cloud handles all configuration automatically.

Core Configuration

VariableDescriptionDefault
NODE_ENVEnvironment modeproduction
PORTAPI server port3300
LOG_LEVELLogging verbosityinfo

Database

VariableDescriptionRequired
DB_HOSTPostgreSQL hostYes
DB_PORTPostgreSQL portYes
DB_USERNAMEDatabase userYes
DB_PASSWORDDatabase passwordYes
DB_DATABASEDatabase nameYes

Authentication

VariableDescriptionRequired
AUTH_CODE_PEPPERPepper for sign-in and step-up codes (32+ chars)Yes
MFA_ENCRYPTION_KEYKey for authenticator secrets (64 hex chars)Yes
WEBAUTHN_RP_IDPasskey relying party id (your dashboard’s registrable domain)Yes
WEBAUTHN_ORIGINSDashboard origin(s) allowed for passkeysYes
ENCRYPTION_MASTER_KEYCloud credential encryption key (64 hex chars; unique per environment and purpose)Yes
INTEGRATION_ENCRYPTION_KEYIntegration secret encryption key (64 hex chars; different from all other keys)Yes

Bot protection

VariableDescriptionRequired
TURNSTILE_SECRET_KEYCloudflare Turnstile secret; required by the API in production and stagingYes
TURNSTILE_ALLOWED_HOSTNAMESAllowed token hostnames; required by the API in production and stagingYes
NEXT_PUBLIC_TURNSTILE_SITE_KEYTurnstile site key for the dashboard and public formsYes

Redis

VariableDescriptionRequired
REDIS_HOSTRedis server hostYes
REDIS_PORTRedis server port6379

Need Help?

For enterprise deployment configuration, contact our sales team.

Last updated on

With your permission, we use Google Analytics and Microsoft Clarity to analyze site traffic and record masked page interactions. You can change your choice using Cookie preferences in the footer. Privacy Policy