-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy path.env.example
More file actions
28 lines (23 loc) · 1.06 KB
/
Copy path.env.example
File metadata and controls
28 lines (23 loc) · 1.06 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
GITHUB_TOKEN=your_github_token_here
# Public GitHub repository URL shown by the app.
# If omitted, the app falls back to https://github.com/O2sa/DevImpact
NEXT_PUBLIC_GITHUB_REPO_URL=your_github_repo_url_here
# GitHub query limits
GITHUB_REPO_COUNT=30
GITHUB_PR_COUNT=80
GITHUB_ISSUE_COUNT=20
GITHUB_DISCUSSION_COUNT=10
# Leaderboard source data
LEADERBOARD_SOURCE_URL_TEMPLATE=https://raw.githubusercontent.com/ashkulz/committers.top/gh-pages/_data/locations/{country}.yml
DISABLE_CALCULATE_LEADERBOARD_ENDPOINT=false
# Redis caching (optional — strongly recommended for leaderboard performance)
# Use either redis://localhost:6379 or include password if enabled: redis://:password@localhost:6379
REDIS_URL=
REDIS_ENABLED=false
REDIS_PASSWORD=
REDIS_CACHE_NAMESPACE=devimpact:v1
REDIS_CACHE_TTL_SECONDS=604800
REDIS_CONNECT_TIMEOUT_MS=1500
# ── PostgreSQL (local development) ─────────────────
DATABASE_URL=postgresql://devimpact:devimpact@localhost:5432/devimpact?sslmode=disable
POSTGRES_PASSWORD=CHANGE_THIS_TO_A_LONG_RANDOM_PASSWORD