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
| Variable | Description | Default |
|---|---|---|
NODE_ENV | Environment mode | production |
PORT | API server port | 3300 |
LOG_LEVEL | Logging verbosity | info |
Database
| Variable | Description | Required |
|---|---|---|
DB_HOST | PostgreSQL host | Yes |
DB_PORT | PostgreSQL port | Yes |
DB_USERNAME | Database user | Yes |
DB_PASSWORD | Database password | Yes |
DB_DATABASE | Database name | Yes |
Authentication
| Variable | Description | Required |
|---|---|---|
AUTH_CODE_PEPPER | Pepper for sign-in and step-up codes (32+ chars) | Yes |
MFA_ENCRYPTION_KEY | Key for authenticator secrets (64 hex chars) | Yes |
WEBAUTHN_RP_ID | Passkey relying party id (your dashboard’s registrable domain) | Yes |
WEBAUTHN_ORIGINS | Dashboard origin(s) allowed for passkeys | Yes |
ENCRYPTION_MASTER_KEY | Cloud credential encryption key (64 hex chars; unique per environment and purpose) | Yes |
INTEGRATION_ENCRYPTION_KEY | Integration secret encryption key (64 hex chars; different from all other keys) | Yes |
Bot protection
| Variable | Description | Required |
|---|---|---|
TURNSTILE_SECRET_KEY | Cloudflare Turnstile secret; required by the API in production and staging | Yes |
TURNSTILE_ALLOWED_HOSTNAMES | Allowed token hostnames; required by the API in production and staging | Yes |
NEXT_PUBLIC_TURNSTILE_SITE_KEY | Turnstile site key for the dashboard and public forms | Yes |
Redis
| Variable | Description | Required |
|---|---|---|
REDIS_HOST | Redis server host | Yes |
REDIS_PORT | Redis server port | 6379 |
Need Help?
For enterprise deployment configuration, contact our sales team.
Last updated on