Skip to content

Commit 1d03a92

Browse files
committed
Wire Reddit OAuth env into the admin service for the flair scanner
1 parent 5537b7e commit 1d03a92

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

docker-compose.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,12 @@ services:
8585
# unset — the picker to manual entry, Game Finder to Steam-only).
8686
TWITCH_CLIENT_ID: ${TWITCH_CLIENT_ID:-}
8787
TWITCH_CLIENT_SECRET: ${TWITCH_CLIENT_SECRET:-}
88+
# Reddit OAuth app for the flair editor's "Scan subreddit" — public reddit.com
89+
# JSON 403s from server IPs, so the scan needs OAuth (falls back to public
90+
# JSON + a clean error when unset). client-credentials grant, so no user/pass.
91+
REDDIT_CLIENT_ID: ${ADMIN_REDDIT_CLIENT_ID:-}
92+
REDDIT_CLIENT_SECRET: ${ADMIN_REDDIT_CLIENT_SECRET:-}
93+
REDDIT_USER_AGENT: ${ADMIN_REDDIT_USER_AGENT:-}
8894
# Game Finder's persistent "not interested" ignore list.
8995
GAME_FINDER_IGNORE_FILE: /data/ignored.json
9096
volumes:

0 commit comments

Comments
 (0)