-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.template
More file actions
64 lines (49 loc) · 1.71 KB
/
env.template
File metadata and controls
64 lines (49 loc) · 1.71 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
# Cogenix Environment Variables Template
#
# INSTRUCTIONS:
# 1. Copy this file and name it: .env.local
# 2. Fill in your actual values
# 3. Never commit .env.local to Git!
#
# Quick setup:
# cp env.template .env.local
# # Then edit .env.local with your values
# =================================
# Backend Configuration
# =================================
# Ollama Backend URL (for chat and models)
OLLAMA_URL=http://localhost:11434
# =================================
# Model Configuration
# =================================
# Default model to use for chat (default: llama2)
DEFAULT_MODEL=llama2:latest
# =================================
# Application Settings
# =================================
# Node environment
NODE_ENV=development
# =================================
# Optional: API Keys
# =================================
# Uncomment and fill in if using external services
# OPENAI_API_KEY=sk-...
# ANTHROPIC_API_KEY=sk-ant-...
# =================================
# Optional: Authentication
# =================================
# Uncomment and fill in if implementing authentication
# JWT_SECRET=your-super-secret-key-here
# =================================
# Database (MongoDB) - REQUIRED
# =================================
# MongoDB Connection String (REQUIRED for database functionality)
# Example: mongodb://localhost:27017/cogenix
# Example (Atlas): mongodb+srv://username:password@cluster.mongodb.net/cogenix
MONGODB_URI=your_mongodb_connection_string_here
# =================================
# Optional: Public Variables
# =================================
# These are exposed to the browser (must start with NEXT_PUBLIC_)
# Application URL (default: http://localhost:3000)
NEXT_PUBLIC_APP_URL=http://localhost:3000