-
Notifications
You must be signed in to change notification settings - Fork 47
Expand file tree
/
Copy path.env.example
More file actions
35 lines (28 loc) · 846 Bytes
/
Copy path.env.example
File metadata and controls
35 lines (28 loc) · 846 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
# Database
DB_HOST=db
DB_PORT=5432
DB_NAME=github_mirror
DB_USERNAME=postgres
DB_PASSWORD=postgres
# API
API_PORT=6969
NODE_ENV=development
# CORS (comma-separated list of allowed origins, empty = allow all)
ALLOWED_ORIGINS=
# GitHub App
GITHUB_APP_ID=
GITHUB_PRIVATE_KEY_PATH=
GITHUB_WEBHOOK_SECRET=
# Redis (BullMQ job queue)
REDIS_HOST=redis
REDIS_PORT=6379
# Validator API Keys (comma-separated)
API_KEYS=
# PR state reconciliation (self-heals missed pull_request.closed webhooks).
# Hourly sweep re-checks every still-open PR within the window against GitHub.
PR_RECONCILE_INTERVAL_MS=3600000
PR_RECONCILE_WINDOW_DAYS=45
# Nightly full repo backfill (coarse safety net; heavier — set false to disable).
# Runs at 12:10am America/Chicago (hardcoded cron); window in days below.
NIGHTLY_BACKFILL_ENABLED=true
NIGHTLY_BACKFILL_DAYS=10