-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
107 lines (73 loc) · 2.74 KB
/
Copy path.env.example
File metadata and controls
107 lines (73 loc) · 2.74 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
# LLMployable Environment Configuration
# Copy this file to .env and fill in your actual values
# ===== REQUIRED CONFIGURATION =====
# Google Gemini API Key (REQUIRED for resume generation)
GEMINI_API_KEY=your-gemini-api-key-here
# ElevenLabs Conversational AI (REQUIRED for Mock Interview)
# Get these from ElevenLabs Dashboard -> Conversational AI
ELEVENLABS_AGENT_ID=your-elevenlabs-agent-id-here
ELEVENLABS_API_KEY=your-elevenlabs-api-key-here
# ===== OPTIONAL BUT RECOMMENDED =====
# GitHub Personal Access Token (for higher rate limits)
GITHUB_TOKEN=your-github-token-here
# Environment & Server
ENVIRONMENT=development
FLASK_HOST=127.0.0.1
FLASK_PORT=5001
PORT=5001
# Database (MongoDB)
# Default for local Docker: mongodb://localhost:27017/llmployable
MONGODB_URI=mongodb://localhost:27017/llmployable
MONGODB_DB_NAME=llmployable
PORT=5000
DEBUG=false
WORKERS=1
# ===== SECURITY =====
# Secret key for session management (MUST be changed in production)
SECRET_KEY=your-secret-key-change-in-production
# Cookie security settings
SESSION_COOKIE_SECURE=false # Set to true in production (requires HTTPS)
SESSION_COOKIE_HTTPONLY=true # Prevents JavaScript access to cookies
SESSION_COOKIE_SAMESITE=Lax # CSRF protection
# ===== LOGGING =====
LOG_LEVEL=INFO # DEBUG, INFO, WARNING, ERROR, CRITICAL
LOG_DIR=logs
# ===== CORS CONFIGURATION =====
# Comma-separated list of allowed origins
CORS_ORIGINS=http://localhost:3000,http://localhost:5000
# ===== RATE LIMITING =====
RATE_LIMIT_ENABLED=true
RATE_LIMIT_REQUESTS=100 # Requests per period
RATE_LIMIT_PERIOD=3600 # Period in seconds (1 hour)
# ===== CACHING =====
CACHE_ENABLED=true
REDIS_URL=redis://localhost:6379/0
# ===== API TIMEOUTS =====
GITHUB_API_TIMEOUT=30
GEMINI_API_TIMEOUT=30
LINKEDIN_API_TIMEOUT=30
# ===== GITHUB SCRAPER =====
GITHUB_MAX_REPOS=20 # Maximum repos to analyze
GITHUB_MAX_TOP_PROJECTS=5 # Top projects to include
# ===== GEMINI CONFIGURATION =====
GEMINI_MODEL=gemini-1.5-pro
GEMINI_MAX_TOKENS=2000
GEMINI_TEMPERATURE=0.7 # 0.0-1.0, higher = more creative
# ===== DATABASE =====
# ===== DATABASE (MongoDB) =====
DATABASE_URL=mongodb://localhost:27017/llmployable
DATABASE_NAME=llmployable
DATABASE_HOST=localhost
DATABASE_PORT=27017
DATABASE_USERNAME= # Leave empty for local development
DATABASE_PASSWORD= # Leave empty for local development
# ===== FILE HANDLING =====
MAX_UPLOAD_SIZE_MB=50
UPLOAD_DIR=uploads
TEMP_DIR=temp
# ===== MONITORING & ANALYTICS (OPTIONAL) =====
SENTRY_DSN= # Sentry error tracking
DATADOG_API_KEY= # DataDog monitoring
# ===== LINKEDIN (FOR FUTURE IMPLEMENTATION) =====
LINKEDIN_EMAIL=
LINKEDIN_PASSWORD=