forked from weam-ai/weam
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
230 lines (180 loc) · 7.02 KB
/
.env.example
File metadata and controls
230 lines (180 loc) · 7.02 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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
# ---------------------------------------------
# NEXT WEAM FRONTEND Local Environment Configuration
# ---------------------------------------------
NEXT_PUBLIC_SERVER_NODE_API_URL=http://node_app:4050/napi
NEXT_PUBLIC_DOMAIN_URL=http://localhost:3000
NEXT_PUBLIC_API_PREFIX=/api
# Set the environment mode for the build process.
# Use "development" to run the app in development mode (e.g., with hot reload, debug tools).
# Use "production" to build the app for production (optimized, minified, no dev tools).
NEXT_PUBLIC_APP_ENVIRONMENT=production
NEXT_PUBLIC_COMMON_NODE_API_URL=http://localhost:4050/napi
# ---------------------------------------------
# Authentication Configuration
# ---------------------------------------------
NEXT_PUBLIC_COOKIE_NAME=cookie
NEXT_PUBLIC_COOKIE_PASSWORD=82f80fc227d5ee18452b985d94a2f538d3fb1209
NEXT_PUBLIC_AWS_S3_URL=http://minio:9000/weam-frontend-media
NEXT_PUBLIC_HTTPS_PROTOCOL=http
NEXT_PUBLIC_IMAGE_DOMAIN=minio
# ---------------------------------------------
# Socket Configuration
# ---------------------------------------------
NEXT_PUBLIC_SOCKET_CONNECTION_URL=http://localhost:4050
NEXT_PUBLIC_SECURITY_KEY=7c50c824e69218ad5a2f5342
NEXT_PUBLIC_OPENAI_PLATFORM_URL=https://platform.openai.com/settings/organization/billing/overview
CSRF_TOKEN_SECRET=c063070bebddb878238a298b4d749530
# ---------------------------------------------
# NODE JS
# ---------------------------------------------
SERVER_PORT=4050
API_PREFIX=v1
# Use compose setup profile to auto-pull selected Ollama model on Configure
# Set to true to run `docker compose -f nextjs/docker-compose.ollama.yml --profile setup`
OLLAMA_PULL_USE_SETUP=false
# ---------------------------------------------
# LLM MODELS API URL
# ---------------------------------------------
#LLM Model Api URL
FRONT_URL=http://localhost:3000
OPEN_AI_MODAL=https://api.openai.com/v1/models
OPEN_AI_API_URL=https://api.openai.com
GEMINI_API_URL=https://generativelanguage.googleapis.com
ANTHROPIC_AI_API_URL=https://api.anthropic.com/v1
PERPLEXITY_API_URL=https://api.perplexity.ai
OPEN_ROUTER_API_URL=https://openrouter.ai/api/v1
# ---------------------------------------------
# JWT AUTH URL
# ---------------------------------------------
#JWT auth
JWT_SECRET=bc4572d58ec33111eb2b44111617ab8c8503a071
JWT_REFRESH_SECRET=dedc07395ca0e92d17fc8cb3474f892f78e453ff08ca5578d32685429bb7742734e24535
JWT_ACCESS_EXPIRE=24h
JWT_REFRESH_EXPIRE=30d
QR_NAME=weam
SECURITY_KEY=7c50c824e69218ad5a2f5342
JWT_ALGORITHM=HS256
# ---------------------------------------------
# REDIS CONFIGURATIONS
# ---------------------------------------------
#redis
REDIS_HOST=redis
REDIS_PORT=6379
# --------------------------------------
# Application Environment URLs
# --------------------------------------
# Base URL for the environment (frontend or external service)
ENVIRONMENT_URL=http://localhost:3000
# -------------------------------
# AWS S3 & CDN Configuration
# -------------------------------
AWS_S3_API_VERSION=2012-10-17
# Type of storage bucket used (e.g., AWS_S3, MINIO, LOCALSTACK)
# BUCKET_TYPE=AWS_S3
# AWS credentials for accessing S3
# AWS_ACCESS_KEY_ID=
# AWS_SECRET_ACCESS_KEY=
# AWS region where your S3 buckets are hosted
# AWS_REGION=us-east-1
# S3 bucket name used for storing frontend media files (e.g., images, videos)
# AWS_S3_BUCKET=sample-frontend-media-bucket
# S3 bucket for backing up vector data (e.g., from Pinecone or Qdrant)
# AWS_VECTORS_BACKUP="sample-vectors-backup-bucket"
# Base S3 URL pattern (replace <bucket_name> dynamically in code)
# AWS_S3_URL=https://<bucket_name>.s3.amazonaws.com
# CDN URL used to serve static files from S3
# AWS_CDN_URL=https://cdn.example.com
# ----------------------------
# MinIO Local Storage Settings
# ----------------------------
# Bucket type (optional override, e.g., MINIO instead of AWS_S3)
BUCKET_TYPE=MINIO
# Port used by the MinIO S3-compatible API
MINIO_PORT=9000
# Port used for accessing the MinIO Web Dashboard
MINIO_DASHBOARD_PORT=9001
# MinIO access credentials (used in place of AWS credentials)
AWS_ACCESS_KEY_ID=minioadmin
AWS_SECRET_ACCESS_KEY=minioadmin123
# MinIO bucket name for storing frontend media files
AWS_BUCKET=weam-frontend-media
# Base endpoint URL for MinIO access
MINIO_ENDPOINT=http://minio:9000
# Regex pattern for matching URLs pointing to MinIO buckets
MINIO_REGEX_FILE_PATTERN="^https?://(?:localhost|minio):9000/"
# S3 bucket name used for profiler-related data
PROFILER_S3_BUCKET=sample-profiler
# S3 bucket for backing up vector data (e.g., from Pinecone or Qdrant)
AWS_VECTORS_BACKUP="sample-vectors-backup-bucket"
INTERNAL_ENDPOINT=http://localhost:9000
ENV_FILE=".env"
# -------------------------------------
# Email Provider Configuration (SES/SMTP)
# -------------------------------------
# SES
# Type of email service used (options: SES, SMTP)
# EMAIL_PROVIDER=SES
EMAIL_PROVIDER=SMTP
# SMTP authentication credentials
SMTP_USER=
SMTP_PASSWORD=
# Email address used as the sender in outgoing emails
SENDER_EMAIL="Your-company <info@your-company.com>"
# SMTP server configuration
SMTP_PORT=
SMTP_SERVER=
SUPPORT_EMAIL=sample@example.com
API_RATE_LIMIT=10
SEED=1
TZ=Asia/Kolkata
# -----------------------------
# MongoDB Development Settings
# -----------------------------
## Cloud MongoDB (MongoDB Atlas or similar)
# Full MongoDB connection URI (replace placeholders with actual credentials and host)
# MONOGODB_URI=mongodb+srv://username:password@demoxyz.mongodb.net
# To see db in docker local commands
# docker exec -it weamai-mongo-1 sh
# mongosh --username admin --password password --authenticationDatabase admin
## Local MongoDB Setup
MONOGODB_URI=mongodb://admin:password@weamai-mongo-1:27017/test?authSource=admin&retryWrites=true&w=majority
MONGO_INITDB_ROOT_USERNAME=admin
MONGO_INITDB_ROOT_PASSWORD=password
# Name of the MongoDB database used by the application
DB_DATABASE=test
# Default MongoDB port (typically 27017)
MONGO_PORT=27017
# ---------------------------
# Qdrant Vector DB Configuration
# ---------------------------
## Cloud Qdrant (Uncomment to use managed Qdrant service)
# QDRANT_URL=https://<your-qdrant-instance>.us-west-1-0.aws.cloud.qdrant.io:6333
# QDRANT_API_KEY=<your_qdrant_api_key>
## Local Qdrant Setup
# URL of the primary local Qdrant container
LOCAL_QDRANT_URL=http://qdrant_primary:6333
# Port used for the Qdrant web interface or dashboard
QDRANT_DASHBOARD_PORT=6333
# Port exposed for internal API or external access (if different from dashboard)
QDRANT_NODE_PORT=6335
#mcp
MCP_PORT=3006
MCP_URL=http://mcp:3006/sse
DOMAIN_URL=http://localhost:4050
#Basic Auth
API_BASIC_AUTH_USERNAME=adminOFweam
API_BASIC_AUTH_PASSWORD=51QFDBgA3EJmVyH
NEXT_PUBLIC_SLACK_CLIENT_ID=
NEXT_PUBLIC_SLACK_CLIENT_SECRET=
NEXT_PUBLIC_GITHUB_CLIENT_ID=
NEXT_PUBLIC_GITHUB_CLIENT_SECRET=
NEXT_PUBLIC_GOOGLE_OAUTH_CLIENT_ID=
NEXT_PUBLIC_GOOGLE_OAUTH_CLIENT_SECRET=
NEXT_PUBLIC_ZOOM_CLIENT_ID=
NEXT_PUBLIC_ZOOM_CLIENT_SECRET=
WEAM_OPEN_AI_KEY=abcd
OLAMA_COMMON_URL=http://host.docker.internal:11434
OLLAMA_FALLBACK_ENABLED=true
OLLAMA_PULL_USE_SETUP=false
NEXT_PUBLIC_ZOOM_CLIENT_SECRET=
N8N_MCP_URL=https://example.com