-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
61 lines (48 loc) · 1.72 KB
/
Copy pathenv.example
File metadata and controls
61 lines (48 loc) · 1.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Application Settings
APP_NAME=Reply-Now Inbox
ENVIRONMENT=development
DEBUG=True
SECRET_KEY=change-this-to-a-random-secret-key-in-production
API_V1_PREFIX=/api/v1
# Database Configuration
DATABASE_URL=postgresql+asyncpg://replynow:replynow@localhost:5432/replynow_db
DATABASE_POOL_SIZE=20
DATABASE_MAX_OVERFLOW=0
# Redis Configuration
REDIS_URL=redis://localhost:6379/0
# JWT Authentication
JWT_SECRET_KEY=change-this-to-a-different-random-secret-key
JWT_ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=30
REFRESH_TOKEN_EXPIRE_DAYS=7
# Google OAuth (Gmail Integration)
# Get credentials: https://console.cloud.google.com/
GOOGLE_CLIENT_ID=your-google-client-id-here
GOOGLE_CLIENT_SECRET=your-google-client-secret-here
GOOGLE_REDIRECT_URI=http://localhost:8000/api/v1/integrations/gmail/callback
# Microsoft OAuth (Outlook Integration)
# Get credentials: https://portal.azure.com/
MICROSOFT_CLIENT_ID=your-microsoft-client-id-here
MICROSOFT_CLIENT_SECRET=your-microsoft-client-secret-here
MICROSOFT_TENANT_ID=common
MICROSOFT_REDIRECT_URI=http://localhost:8000/api/v1/integrations/outlook/callback
# OpenAI Configuration (Required)
# Get API key: https://platform.openai.com/api-keys
OPENAI_API_KEY=sk-proj-your-openai-api-key-here
OPENAI_MODEL=gpt-4-turbo-preview
OPENAI_MAX_TOKENS=2000
# Anthropic Configuration (Optional)
ANTHROPIC_API_KEY=your-anthropic-api-key-here
# Email Processing Settings
EMAIL_SYNC_INTERVAL_MINUTES=5
EMAIL_BATCH_SIZE=50
MAX_EMAILS_PER_SYNC=500
# CORS Settings
CORS_ORIGINS=http://localhost:3000,http://localhost:8000
# Celery Configuration
CELERY_BROKER_URL=redis://localhost:6379/1
CELERY_RESULT_BACKEND=redis://localhost:6379/2
# Monitoring (Optional)
SENTRY_DSN=your-sentry-dsn-here
# Rate Limiting
RATE_LIMIT_PER_MINUTE=60