forked from NexGenStudioDev/LocalMind
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
80 lines (65 loc) · 2.28 KB
/
env.example
File metadata and controls
80 lines (65 loc) · 2.28 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
# ============================================
# LocalMind Environment Variables
# ============================================
# Copy this file to .env and fill in your values
# ============================================
# Application Settings
# ============================================
NODE_ENV=production
PORT=3000
ENVIRONMENT=production
# ============================================
# Security
# ============================================
# Generate a strong random secret for JWT tokens
# You can generate one using: openssl rand -base64 32
LOCALMIND_SECRET=your-super-secret-key-change-this-immediately
# ============================================
# Cloud AI Provider API Keys (Optional)
# ============================================
# Only add keys for providers you want to use
# Generic API Key (used by some providers)
API_KEY=
# OpenAI
OPENAI_API_KEY=
# Google Gemini
GEMINI_API_KEY=
# Groq
GROQ_API_KEY=
# RouterAI
ROUTERAI_API_KEY=
# ============================================
# Ollama Configuration (Local LLMs)
# ============================================
# URL to Ollama instance
# - If Ollama runs on host machine: http://host.docker.internal:11434
# - If Ollama runs in Docker: http://ollama:11434
# - Default Ollama port: 11434
OLLAMA_HOST=http://host.docker.internal:11434
# ============================================
# Database (Future Use)
# ============================================
# Uncomment when database is implemented
# DATABASE_URL=postgresql://user:password@localhost:5432/localmind
# ============================================
# Tunneling Services (Optional)
# ============================================
# LocalTunnel subdomain preference
LOCALTUNNEL_SUBDOMAIN=
# Ngrok auth token (required for ngrok)
NGROK_AUTH_TOKEN=
# ============================================
# Logging & Debugging
# ============================================
LOG_LEVEL=info
DEBUG=false
# ============================================
# CORS Settings
# ============================================
# Comma-separated list of allowed origins
CORS_ORIGINS=http://localhost:5173,http://localhost:3000
# ============================================
# File Upload Limits
# ============================================
MAX_FILE_SIZE=10485760 # 10MB in bytes
ALLOWED_FILE_TYPES=.xlsx,.csv,.txt,.json