-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
23 lines (20 loc) · 1.1 KB
/
.env.example
File metadata and controls
23 lines (20 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
DATABASE_URL=postgresql://username:password@localhost:5432/playmatch
REDIS_URL=redis://localhost:6379
# Metadata providers. Each is optional; comment out to disable a provider.
# Disabling all providers leaves the API live but the background match cron
# becomes a no-op and the corresponding `/api/<provider>/*` routes are not
# registered.
IGDB_CLIENT_ID=YOUR_CLIENT_ID
IGDB_CLIENT_SECRET=YOUR_CLIENT_SECRET
STEAMGRIDDB_API_KEY=YOUR_STEAMGRIDDB_API_KEY
SCREENSCRAPER_DEV_ID=YOUR_SCREENSCRAPER_DEV_ID
SCREENSCRAPER_DEV_PASSWORD=YOUR_SCREENSCRAPER_DEV_PASSWORD
# Optional. Without user credentials ScreenScraper heavily throttles and
# frequently rejects requests with "API closed for non-members" during peak
# hours. Both must be set together to take effect.
# SCREENSCRAPER_USER_ID=YOUR_SCREENSCRAPER_USER_ID
# SCREENSCRAPER_USER_PASSWORD=YOUR_SCREENSCRAPER_USER_PASSWORD
# Pepper used for HMAC-SHA256 hashing of API keys. Generate with `openssl rand -hex 32`.
# Must be at least 16 raw bytes (32 hex chars). Treat like a production secret.
API_KEY_PEPPER=REPLACE_WITH_OUTPUT_OF_openssl_rand_hex_32
INITIAL_DATA_INIT=true