-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy path.env.example
More file actions
161 lines (127 loc) · 4.43 KB
/
Copy path.env.example
File metadata and controls
161 lines (127 loc) · 4.43 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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
SECRET_KEY='LTwzPMJVLeRNOjoLxqHidKWhfoOtjzYawyaGCezb'
## Database
DATABASE_URL='postgres://postgres:postgres@localhost:5432/open_chat_studio'
### Alternate database settings
# DJANGO_DATABASE_NAME=
# DJANGO_DATABASE_USER=
# DJANGO_DATABASE_PASSWORD=
# DJANGO_DATABASE_HOST=
# DJANGO_DATABASE_PORT=
# Database pool settings
# DJANGO_DATABASE_POOL_MIN_SIZE=
# DJANGO_DATABASE_POOL_MAX_SIZE=
# DJANGO_DATABASE_POOL_TIMEOUT=
## Cache & Celery queues
REDIS_URL='redis://localhost:6379'
### Alternate cache settings
# REDIS_HOST=
# REDIS_PORT=
# REDIS_USE_TLS=
## AWS access for S3 (public media storage and whatsapp voice reply file storage)
# These don't need to be provided if you are using AWS IAM Roles to provide access for your application
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_S3_REGION=
WHATSAPP_S3_AUDIO_BUCKET=
## Public media storage (e.g. user uploads)
# This will use the same AWS credentials as above
USE_S3_STORAGE=False
AWS_PUBLIC_STORAGE_BUCKET_NAME=
AWS_PRIVATE_STORAGE_BUCKET_NAME=
## Optional Task Badger integration (celery task monitoring)
TASKBADGER_ORG=
TASKBADGER_PROJECT=
TASKBADGER_API_KEY=
## Production Email Config (Uncomment the one you are using)
ACCOUNT_EMAIL_VERIFICATION=mandatory
### Mailgun
# DJANGO_EMAIL_BACKEND="anymail.backends.mailgun.EmailBackend"
# MAILGUN_API_KEY=
# MAILGUN_SENDER_DOMAIN=
### Amazon SES
# DJANGO_EMAIL_BACKEND="anymail.backends.amazon_ses.EmailBackend"
## These don't need to be provided if you are using AWS IAM Roles to provide access for your application
# AWS_SES_ACCESS_KEY=
# AWS_SES_SECRET_KEY=
# AWS_SES_REGION=
## Inbound email channel
## Comma-separated list of domains the email channel will accept (inbound to_address
## and channel-form email_address/from_address). Supports wildcards like *.example.com.
## Empty/unset => fail-closed (no inbound mail processed, no form saves).
# EMAIL_CHANNEL_ALLOWED_DOMAINS=chat.openchatstudio.com,*.example.com
## Optional terms and policy URLs
# TERMS_URL=
# PRIVACY_POLICY_URL=
# ACCEPTABLE_USE_POLICY_URL=
## Prelogin contact page (optional)
## Contact email shown on the contact page (leave unset to hide it)
# PRELOGIN_CONTACT_EMAIL=
## HubSpot embedded form (leave portal/form IDs unset to hide the form)
# HUBSPOT_FORM_REGION=na1
# HUBSPOT_FORM_PORTAL_ID=
# HUBSPOT_FORM_ID=
## Optional Slack integration
SLACK_CLIENT_ID=
SLACK_CLIENT_SECRET=
SLACK_SIGNING_SECRET=
SLACK_BOT_NAME=
## Google Analytics (optional)
GOOGLE_ANALYTICS_ID=
## Sentry for error tracking (optional)
SENTRY_DSN=
SENTRY_ENVIRONMENT=
## Production settings
# This should be a comma separated list of allowed hosts for the Django application
DJANGO_ALLOWED_HOSTS=
## Encryption settings
# Defaults to SECRET_KEY if not provided
CRYPTOGRAPHY_KEY=
CRYPTOGRAPHY_SALT=
## Health check
# Tokens used to secure the /status endpoint. These should be kept secret
HEALTH_CHECK_TOKENS=
## Oauth
OIDC_RSA_PRIVATE_KEY="-----BEGIN PRIVATE KEY-----\nexample key\n-----END PRIVATE KEY-----"
OAUTH_PKCE_REQUIRED=True
ENABLE_JSON_LOGGING=False
# Models for use by the system agent. Separate multiple models (for fallback) using the ',' character.
# openai:gpt5-2,anthropic:claude-4.5-opus
# 'high' models used for complex tasks
SYSTEM_AGENT_MODELS_HIGH=
# 'low' models used for simple tasks
SYSTEM_AGENT_MODELS_LOW=
# Mapping of provider names to API keys: openai=XXX,anthropic=YYY
SYSTEM_AGENT_API_KEYS=
# Staff-only internal team metadata fields. JSON list of {"key", "label"} objects.
# TEAM_METADATA_FIELDS=[{"key": "team_owner", "label": "Team Owner"}]
# Cloudflare Tunnel Settings
CLOUDFLARE_TUNNEL_TOKEN=
PRIVATE_HOSTNAME=
APP_IP=
# END of Cloudflare Tunnel Settings
## LLM Provider credentials (optional - used by `bootstrap_data` to seed
## providers and by integration tests in apps/service_providers/tests/test_llm_integration.py).
## Set the keys for whichever providers you want available; unset providers are skipped.
# OpenAI
# OPENAI_API_KEY=
# OPENAI_API_BASE=
# OPENAI_ORGANIZATION=
# Anthropic
# ANTHROPIC_API_KEY=
# ANTHROPIC_API_BASE=https://api.anthropic.com
# Google Gemini
# GOOGLE_API_KEY=
# Google Vertex AI (credentials must be a single-line JSON blob from a service-account key file)
# GOOGLE_VERTEX_AI_CREDENTIALS_JSON=
# GOOGLE_VERTEX_AI_LOCATION=global
# GOOGLE_VERTEX_AI_API_TRANSPORT=rest
# DeepSeek
# DEEPSEEK_API_KEY=
# Azure OpenAI
# AZURE_OPENAI_API_KEY=
# AZURE_OPENAI_ENDPOINT=
# AZURE_OPENAI_API_VERSION=2024-02-15-preview
# Groq
# GROQ_API_KEY=
# Perplexity
# PERPLEXITY_API_KEY=