|
| 1 | +# Notifuse Environment Configuration |
| 2 | +# Copy this file to .env and update the values below for your installation |
| 3 | + |
| 4 | +# ============================================================================= |
| 5 | +# REQUIRED VARIABLES - You must set these for production use |
| 6 | +# ============================================================================= |
| 7 | + |
| 8 | +# Root administrator email |
| 9 | +ROOT_EMAIL=admin@yourcompany.com |
| 10 | + |
| 11 | +# Public API endpoint URL (where your Notifuse instance will be accessible) |
| 12 | +API_ENDPOINT=https://emails.yourcompany.com |
| 13 | + |
| 14 | +# Database configuration (if using external PostgreSQL) |
| 15 | +# DB_HOST=your-postgres-host.com |
| 16 | +# DB_PORT=5432 |
| 17 | +# DB_USER=postgres |
| 18 | +# DB_PASSWORD=your-secure-password |
| 19 | + |
| 20 | +# PASETO keys for JWT tokens - Generate at https://paseto.notifuse.com |
| 21 | +PASETO_PRIVATE_KEY=your_base64_encoded_private_key_here |
| 22 | +PASETO_PUBLIC_KEY=your_base64_encoded_public_key_here |
| 23 | + |
| 24 | +# Secret key for database encryption (32 characters minimum) |
| 25 | +SECRET_KEY=your_32_character_secret_key_here_123 |
| 26 | + |
| 27 | +# SMTP Configuration for system emails (password resets, invitations, etc.) |
| 28 | +SMTP_HOST=smtp.gmail.com |
| 29 | +SMTP_PORT=587 |
| 30 | +SMTP_USERNAME=your-email@gmail.com |
| 31 | +SMTP_PASSWORD=your-app-password |
| 32 | +SMTP_FROM_EMAIL=noreply@yourcompany.com |
| 33 | +SMTP_FROM_NAME=Your Company Name |
| 34 | + |
| 35 | +# ============================================================================= |
| 36 | +# OPTIONAL VARIABLES - Uncomment and modify if needed |
| 37 | +# ============================================================================= |
| 38 | + |
| 39 | +# Server Configuration |
| 40 | +# SERVER_PORT=8080 |
| 41 | +# SERVER_HOST=0.0.0.0 |
| 42 | +# CORS_ALLOW_ORIGIN=* |
| 43 | +# ENVIRONMENT=production |
| 44 | +# LOG_LEVEL=info |
| 45 | + |
| 46 | +# Database Configuration (for custom setups) |
| 47 | +# DB_PREFIX=notifuse |
| 48 | +# DB_NAME=notifuse_system |
| 49 | +# DB_SSLMODE=require |
| 50 | + |
| 51 | +# Tracing Configuration |
| 52 | +# TRACING_ENABLED=false |
| 53 | +# TRACING_SERVICE_NAME=notifuse-api |
| 54 | +# TRACING_SAMPLING_PROBABILITY=0.1 |
| 55 | +# TRACING_TRACE_EXPORTER=none |
| 56 | +# TRACING_JAEGER_ENDPOINT=http://localhost:14268/api/traces |
| 57 | +# TRACING_ZIPKIN_ENDPOINT=http://localhost:9411/api/v2/spans |
| 58 | +# TRACING_STACKDRIVER_PROJECT_ID= |
| 59 | +# TRACING_AZURE_INSTRUMENTATION_KEY= |
| 60 | +# TRACING_DATADOG_AGENT_ADDRESS=localhost:8126 |
| 61 | +# TRACING_DATADOG_API_KEY= |
| 62 | +# TRACING_XRAY_REGION=us-west-2 |
| 63 | +# TRACING_AGENT_ENDPOINT=localhost:8126 |
| 64 | +# TRACING_METRICS_EXPORTER=none |
| 65 | +# TRACING_PROMETHEUS_PORT=9464 |
0 commit comments