-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
42 lines (35 loc) · 1.57 KB
/
Copy path.env.example
File metadata and controls
42 lines (35 loc) · 1.57 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
# Required environment variables for github-data-pipeline
# Rename this file to .env or .env.local and fill in the values.
NODE_ENV=development
DATABASE_URL=postgresql://user:password@localhost:5432/database
# Redis configuration (TCP Redis for BullMQ)
REDIS_URL=redis://localhost:6379
# Optional Upstash REST fallback for Redis
UPSTASH_REDIS_REST_URL=
UPSTASH_REDIS_REST_TOKEN=
# GitHub authentication
# Set either GITHUB_TOKENS as a comma-separated list, or individual GITHUB_TOKEN_1..GITHUB_TOKEN_5
GITHUB_TOKENS=
#GITHUB_TOKEN_1=
#GITHUB_TOKEN_2=
#GITHUB_TOKEN_3=
#GITHUB_TOKEN_4=
#GITHUB_TOKEN_5=
# Token partitioning (optional, per-process).
# Comma-separated 0-based indices into the resolved token list that THIS process
# may use. Lets concurrent workers use disjoint PAT subsets instead of draining a
# shared budget. Unset/empty/all-invalid => use every token.
# e.g. refresh-worker: GITHUB_TOKEN_INDICES=0,1
# compute-repo-health: GITHUB_TOKEN_INDICES=2,3,4
#GITHUB_TOKEN_INDICES=
# Refresh pause switch (optional).
# PAUSE_REFRESH_DURING_BACKFILL=1 makes compute-repo-health pause the
# refresh-worker for the duration of the backfill (auto-cleared on exit).
# REFRESH_PAUSE_FILE overrides the sentinel path (default: ./.refresh-paused).
# Manual control: `touch .refresh-paused` to pause, `rm .refresh-paused` to resume.
#PAUSE_REFRESH_DURING_BACKFILL=1
#REFRESH_PAUSE_FILE=.refresh-paused
# LinkedIn Open-to-Work Scraper (Apify)
# Required for enrich-linkedin-apify.ts script
# Get your token from: https://console.apify.com/account/integrations
APIFY_API_TOKEN=