-
Notifications
You must be signed in to change notification settings - Fork 46
Expand file tree
/
Copy pathenv.example
More file actions
103 lines (89 loc) · 2.7 KB
/
env.example
File metadata and controls
103 lines (89 loc) · 2.7 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
# ============================================
# LocalMind Environment Variables
# ============================================
# Copy this file to .env and fill in your values
# created by @NexGenStudioDev
# ============================================
# Application Settings
PORT=5000
HOST=localhost
APP_ENV=development
DEBUG=true
LOG_LEVEL=debug
BACKEND_URL=http://localhost:5000
FRONTEND_URL=http://localhost:5173
# ============================================
# Frontend URL (for password reset links)
# ============================================
FRONTEND_URL=http://localhost:3000
# ============================================
# Email Configuration (for password reset)
# ============================================
# Gmail Example:
# SMTP_SERVICE=gmail
# SMTP_USER=your-email@gmail.com
# SMTP_PASSWORD=your-app-password
# SMTP_FROM=noreply@localmind.com
# Custom SMTP Server Example:
# SMTP_HOST=smtp.example.com
# SMTP_PORT=587
# SMTP_SECURE=false
# SMTP_USER=your-smtp-user
# SMTP_PASSWORD=your-smtp-password
# SMTP_FROM=noreply@localmind.com
SMTP_SERVICE=
SMTP_HOST=
SMTP_PORT=587
SMTP_SECURE=false
SMTP_USER=
SMTP_PASSWORD=
SMTP_FROM=noreply@localmind.com
# ============================================
# Security
# ============================================
Your_Name=Admin User
YOUR_EMAIL=admin@localmind.ai
YOUR_PASSWORD=ChangeThisPassword123!
# ============================================
# Security & Auth
# ============================================
# Generate a strong random secret for JWT tokens
# openssl rand -base64 32
JWT_SECRET=your-super-secret-jwt-key
JWT_EXPIRATION=7d
# Server HMAC Secret for internal signatures
SERVER_HMAC_SECRET=your-server-hmac-secret
ENCRYPTION_KEY=your-32-char-encryption-key-here
# CORS & Rate Limiting
CORS_ENABLED=true
ENABLE_RATE_LIMITING=true
RATE_LIMIT_ENABLED=true
# ============================================
# Database Configuration
# ============================================
DB_CONNECTION_STRING=mongodb://localhost:27017/localmind
DB_HOST=localhost
DB_PORT=27017
DB_NAME=localmind
DB_USER=root
DB_PASSWORD=example
# Cloudflared default port (defaults to 3000 if not set)
CLOUDFLARED_PORT=3000
# ============================================
# Redis Configuration (For Queues/Caching)
# ============================================
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=
# ============================================
# File Storage
# ============================================
UPLOAD_DIR=uploads
TEMP_DIR=temp
MAX_FILE_SIZE=50mb
# ============================================
# AI Providers
# ============================================
GROQ_API_KEY=your_groq_api_key_here
GOOGLE_API_KEY=your_google_api_key_here
OPENAI_API_KEY=your_openai_api_key_here