warmbox/.env.example

24 lines
736 B
Text

# Copy to .env on your server: cp .env.example .env
# Generate secrets:
# openssl rand -hex 32 # ENCRYPTION_KEY (64 hex chars — NEVER change after first deploy)
# openssl rand -hex 24 # API_KEY
# Persistent SQLite (Docker Compose sets this automatically)
DATABASE_URL="file:/data/warmbox.db"
# Required — encrypts mailbox passwords in the database
ENCRYPTION_KEY=""
# Required when exposed to the internet — dashboard login uses this
API_KEY=""
# Public URL users and OAuth providers see (no trailing slash)
PUBLIC_BASE_URL="https://warmbox.jonnyn.com"
PORT=3000
NODE_ENV=production
# AI content generation (OpenRouter recommended)
AI_API_KEY=""
AI_BASE_URL="https://openrouter.ai/api/v1"
AI_MODEL="openrouter/free"