-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
44 lines (34 loc) · 925 Bytes
/
.env.example
File metadata and controls
44 lines (34 loc) · 925 Bytes
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
# Database
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/repo_ghost_hunter"
# Authentication
NEXTAUTH_SECRET="your-secret-key-here"
NEXTAUTH_URL="http://localhost:3000"
# GitHub OAuth
GITHUB_CLIENT_ID="your-github-client-id"
GITHUB_CLIENT_SECRET="your-github-client-secret"
# Redis (optional, for caching)
REDIS_URL="redis://localhost:6379"
# Application
NODE_ENV="development"
PORT=3001
# API Configuration
API_BASE_URL="http://localhost:3001"
WEB_BASE_URL="http://localhost:3000"
# GitHub API
GITHUB_API_TOKEN="your-github-personal-access-token"
GITHUB_API_URL="https://api.github.com"
# Monitoring (optional)
SENTRY_DSN=""
SENTRY_AUTH_TOKEN=""
# Analytics (optional)
GOOGLE_ANALYTICS_ID=""
# Email (optional)
SMTP_HOST=""
SMTP_PORT=587
SMTP_USER=""
SMTP_PASS=""
FROM_EMAIL=""
# Feature Flags
ENABLE_SIGNUPS=true
ENABLE_GITHUB_WEBHOOKS=false
HEALTH_SCORE_CALCULATION_INTERVAL=3600000 # 1 hour in ms