.env.example to .env and fill in the values relevant to your deployment. You only need to configure the variables for features you’re actually using — Volta will work with just the required core variables, and you can add optional ones as you enable more features.
This page is for people running their own Volta instance. If you’re using a hosted version of Volta, your instance is already configured — you don’t need to manage environment variables yourself.
Required Variables
These variables must be set for Volta to start. The backend will refuse to launch ifJWT_SECRET is missing.
| Variable | Description |
|---|---|
DATABASE_URL | PostgreSQL connection string (e.g. postgresql://user:password@localhost:5432/voltadb) |
REDIS_URL | Redis connection string (e.g. redis://localhost:6379) |
JWT_SECRET | A long, random string used to sign session tokens. Generate with openssl rand -base64 32 |
BACKEND_URL | The public URL of the Volta backend API (e.g. https://api.yourdomain.com). Used as the base URL for OAuth redirect URIs and media serving. |
FRONTEND_URL | The public URL where your Volta dashboard is accessible (e.g. https://app.yourdomain.com) |
NEXT_PUBLIC_BACKEND_URL | The backend API URL exposed to the browser (typically the same value as BACKEND_URL) |
Optional but Recommended
Encryption Key
ENCRYPTION_KEY is not set, Volta falls back to a legacy AES-256-CBC encryption scheme derived from JWT_SECRET. Existing encrypted data continues to work if you set ENCRYPTION_KEY later.
Email (Invitations)
Volta is invite-only by default. To send invitation emails to new users, configure a Resend account:RESEND_API_KEY is not set, users can still be invited — they’ll need to receive the invite link manually.
Social Platform Credentials
Volta supports entering OAuth credentials directly from the Add Channel popup in the dashboard — you don’t need to add them to your.env file manually for most platforms. Credentials entered through the UI are stored encrypted in the database and used automatically.
You may still choose to set credentials in .env if you prefer to manage them centrally or pre-configure them for your team. The full list of social platform variables is in your .env.example file. See the Social Media and Messaging channel guides for per-platform details.
Security Settings
Registration Control
DISABLE_REGISTRATION=true, no one can create an account without an invitation. Run pnpm bootstrap once after installation to create the first admin account, then use Settings → Users → Invite to add additional members.
NOT_SECURED Mode
NOT_SECURED is off (the default), Volta uses httpOnly, secure, and SameSite cookies for session management, and enforces CSRF protection on all state-changing requests.
Public API Rate Limiting
Full Example
Here’s a minimal production-ready.env configuration:
