forked from danny-avila/LibreChat
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
96 lines (81 loc) · 3.72 KB
/
Copy path.env.example
File metadata and controls
96 lines (81 loc) · 3.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
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
# AI Business Tools Platform Environment Configuration
# Copy this file to .env and fill in your actual values
#===============================================================================
# Server Configuration
#===============================================================================
HOST=0.0.0.0
PORT=3080
DOMAIN_SERVER=http://localhost:3080
DOMAIN_CLIENT=http://localhost:3080
#===============================================================================
# Database - MongoDB Atlas
#===============================================================================
MONGO_URI=your-mongodb-connection-string-here
#===============================================================================
# Authentication & Security
#===============================================================================
JWT_SECRET=generate-a-secure-random-string-here
JWT_REFRESH_SECRET=generate-another-secure-random-string-here
CREDS_KEY=generate-32-character-encryption-key
CREDS_IV=generate-16-char-iv
# Session expiry
SESSION_EXPIRY=1000 * 60 * 60 * 24 * 7 # 7 days
REFRESH_TOKEN_EXPIRY=1000 * 60 * 60 * 24 * 30 # 30 days
#===============================================================================
# AI Provider API Keys
#===============================================================================
# OpenAI - For Dark JK Business Coach
OPENAI_API_KEY=sk-your-openai-api-key
# Anthropic - For Hybrid Offer Creator
ANTHROPIC_API_KEY=sk-ant-your-anthropic-api-key
#===============================================================================
# Business Tool Configuration
#===============================================================================
# Dark JK Coach Vector Store ID (from OpenAI)
DARKJK_VECTOR_STORE_ID=vs_your-vector-store-id
# Artifact Bundler for document generation
SANDPACK_BUNDLER_URL=http://sandpack:3000
#===============================================================================
# Email Configuration (Optional)
#===============================================================================
EMAIL_SERVICE=
EMAIL_HOST=
EMAIL_PORT=587
EMAIL_ENCRYPTION=starttls
EMAIL_USERNAME=
EMAIL_PASSWORD=
EMAIL_FROM_NAME=AI Business Tools
EMAIL_FROM=noreply@yourdomain.com
#===============================================================================
# File Upload Configuration
#===============================================================================
FILE_UPLOAD_SIZE_LIMIT=10 # Maximum file size in MB
#===============================================================================
# Logging & Monitoring
#===============================================================================
DEBUG_LOGGING=true
DEBUG_CONSOLE=false
LOG_LEVEL=info
#===============================================================================
# UI Customization
#===============================================================================
APP_TITLE=AI Business Tools Platform
HELP_AND_FAQ_URL=https://yourdomain.com/help
#===============================================================================
# User Management
#===============================================================================
ALLOW_EMAIL_LOGIN=true
ALLOW_REGISTRATION=false # Admin creates users
ALLOW_SOCIAL_LOGIN=false
ALLOW_ACCOUNT_DELETION=false
#===============================================================================
# Custom Business Configuration
#===============================================================================
DEFAULT_USER_TIER=free
FREE_USER_TOOLS=ContentEndpoint
PREMIUM_USER_TOOLS=CoachingEndpoint,ContentEndpoint
ADMIN_EMAILS=admin@yourdomain.com
#===============================================================================
# Docker & Deployment
#===============================================================================
NODE_ENV=production