-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.env.example
More file actions
130 lines (108 loc) · 4.93 KB
/
Copy path.env.example
File metadata and controls
130 lines (108 loc) · 4.93 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
# AI Marketing Platform - Environment Variables
# Copy this file to .env and update with your values
# NEVER commit .env to version control
# =============================================================================
# ENVIRONMENT
# =============================================================================
ENVIRONMENT=development
DEBUG=false
# =============================================================================
# SECURITY (REQUIRED - Generate new values for production)
# =============================================================================
# Generate with: openssl rand -hex 32
SECRET_KEY=change-me-in-production-use-openssl-rand-hex-32
# Generate with: python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())"
ENCRYPTION_KEY=change-me-in-production-use-fernet-key
# =============================================================================
# DATABASE
# =============================================================================
POSTGRES_USER=aimarketing
POSTGRES_PASSWORD=aimarketing_dev
POSTGRES_DB=aimarketing
DATABASE_URL=postgresql+asyncpg://aimarketing:aimarketing_dev@postgres:5432/aimarketing
# =============================================================================
# REDIS
# =============================================================================
REDIS_PASSWORD=redis_dev
REDIS_URL=redis://:redis_dev@redis:6379/0
# =============================================================================
# APPLICATION
# =============================================================================
ALLOWED_HOSTS=localhost,127.0.0.1
CORS_ORIGINS=http://localhost:3000,http://localhost:5173
# =============================================================================
# RATE LIMITING
# =============================================================================
RATE_LIMIT_API=60/minute
RATE_LIMIT_AUTH=5/minute
RATE_LIMIT_AI=10/minute
RATE_LIMIT_EXPORT=5/minute
# =============================================================================
# CACHE
# =============================================================================
CACHE_ENABLED=true
CACHE_TTL_SHORT=30
CACHE_TTL_MEDIUM=300
CACHE_TTL_LONG=1800
# =============================================================================
# MONITORING
# =============================================================================
GRAFANA_USER=admin
GRAFANA_PASSWORD=admin_dev
# =============================================================================
# EMAIL (Resend)
# =============================================================================
RESEND_API_KEY=re_xxxxxxxxxxxx
EMAIL_FROM=noreply@yourdomain.com
# =============================================================================
# GOOGLE ADS API
# =============================================================================
GOOGLE_ADS_CLIENT_ID=
GOOGLE_ADS_CLIENT_SECRET=
GOOGLE_ADS_DEVELOPER_TOKEN=
GOOGLE_ADS_REDIRECT_URI=http://localhost/api/v1/auth/google-ads/callback
# =============================================================================
# META (FACEBOOK) ADS API
# =============================================================================
META_APP_ID=
META_APP_SECRET=
META_REDIRECT_URI=http://localhost/api/v1/auth/meta/callback
# =============================================================================
# TIKTOK ADS API
# =============================================================================
TIKTOK_APP_ID=
TIKTOK_APP_SECRET=
TIKTOK_REDIRECT_URI=http://localhost/api/v1/auth/tiktok/callback
# =============================================================================
# AI PROVIDERS
# =============================================================================
OPENAI_API_KEY=sk-xxxxxxxxxxxx
ANTHROPIC_API_KEY=sk-ant-xxxxxxxxxxxx
# Default AI model (gpt-4o, gpt-4o-mini, claude-sonnet-4-20250514, claude-3-5-haiku-20241022)
AI_DEFAULT_MODEL=gpt-4o-mini
# =============================================================================
# STRIPE
# =============================================================================
STRIPE_SECRET_KEY=sk_test_xxxxxxxxxxxx
STRIPE_PUBLISHABLE_KEY=pk_test_xxxxxxxxxxxx
STRIPE_WEBHOOK_SECRET=whsec_xxxxxxxxxxxx
# =============================================================================
# GOOGLE SSO
# =============================================================================
GOOGLE_SSO_CLIENT_ID=
GOOGLE_SSO_CLIENT_SECRET=
GOOGLE_SSO_REDIRECT_URI=http://localhost/api/v1/auth/google/callback
# =============================================================================
# NOTIFICATIONS
# =============================================================================
# Slack
SLACK_BOT_TOKEN=xoxb-xxxxxxxxxxxx
SLACK_SIGNING_SECRET=
# WhatsApp Business API
WHATSAPP_BUSINESS_ACCOUNT_ID=
WHATSAPP_ACCESS_TOKEN=
WHATSAPP_PHONE_NUMBER_ID=
# =============================================================================
# SENTRY (Error Tracking)
# =============================================================================
SENTRY_DSN=