5be2794c95
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
53 lines
1.4 KiB
Bash
53 lines
1.4 KiB
Bash
# Database Configuration
|
|
DATABASE_URL=postgresql+asyncpg://postgres:password@localhost:5432/pop3_forwarder
|
|
|
|
# Security
|
|
SECRET_KEY=change-this-to-a-secure-random-secret-key-minimum-32-characters
|
|
ENCRYPTION_KEY=change-this-to-a-secure-encryption-key-for-credentials
|
|
ALGORITHM=HS256
|
|
ACCESS_TOKEN_EXPIRE_MINUTES=30
|
|
REFRESH_TOKEN_EXPIRE_DAYS=7
|
|
|
|
# OAuth2 - Google
|
|
GOOGLE_CLIENT_ID=your-google-client-id.apps.googleusercontent.com
|
|
GOOGLE_CLIENT_SECRET=your-google-client-secret
|
|
GOOGLE_REDIRECT_URI=http://localhost:3000/auth/callback/google
|
|
|
|
# CORS Origins (comma-separated)
|
|
CORS_ORIGINS=http://localhost:3000,http://localhost:8000
|
|
|
|
# Stripe Payment (Optional)
|
|
STRIPE_API_KEY=sk_test_your_stripe_api_key
|
|
STRIPE_WEBHOOK_SECRET=whsec_your_webhook_secret
|
|
STRIPE_PUBLISHABLE_KEY=pk_test_your_publishable_key
|
|
|
|
# Subscription Tiers Limits
|
|
TIER_FREE_MAX_ACCOUNTS=1
|
|
TIER_BASIC_MAX_ACCOUNTS=5
|
|
TIER_PRO_MAX_ACCOUNTS=20
|
|
TIER_ENTERPRISE_MAX_ACCOUNTS=100
|
|
|
|
# Email Processing
|
|
MAX_EMAILS_PER_RUN=50
|
|
CHECK_INTERVAL_MINUTES=5
|
|
THROTTLE_EMAILS_PER_MINUTE=10
|
|
|
|
# Redis
|
|
REDIS_URL=redis://localhost:6379/0
|
|
CELERY_BROKER_URL=redis://localhost:6379/0
|
|
CELERY_RESULT_BACKEND=redis://localhost:6379/0
|
|
|
|
# Logging
|
|
LOG_LEVEL=INFO
|
|
|
|
# Admin Account (created on first startup)
|
|
ADMIN_EMAIL=admin@example.com
|
|
ADMIN_PASSWORD=change-this-secure-password
|
|
|
|
# Application
|
|
APP_NAME=POP3 Forwarder SaaS
|
|
APP_VERSION=2.0.0
|
|
DEBUG=false
|
|
HOST=0.0.0.0
|
|
PORT=8000
|