Self-Hosting
Environment Variables
Configuration for self-hosted deployments
When self-hosting, you'll need to configure environment variables for the API, frontend, and worker processes. Nozle Cloud handles all of this automatically.
Core Configuration
Key variables include:
| Variable | Description |
|---|---|
DATABASE_URL | PostgreSQL connection string |
REDIS_URL | Redis connection string |
API_URL | Self-referencing API URL |
SMTP_ADDRESS | SMTP server for invoice emails |
SMTP_PORT | SMTP port (typically 587) |
SMTP_FROM_EMAIL | From address for transactional emails |
Nozle API Keys
Regardless of deployment model, you'll need Nozle API keys to use the SDKs:
| Key Type | Prefix | Use |
|---|---|---|
| Publishable | pk_ | Client-side (React SDK) |
| Secret | sk_ | Server-side (Node/Python SDKs) |
Get your keys from the Nozle dashboard at app.nozle.app.