-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconf.env.example
More file actions
42 lines (34 loc) · 1.53 KB
/
Copy pathconf.env.example
File metadata and controls
42 lines (34 loc) · 1.53 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
# Copy this file to secret/conf.env and fill in your own values.
#
# mkdir -p secret
# cp examples/conf.env.example secret/conf.env
# --- Spotify (required) ---
# From your app at https://developer.spotify.com/dashboard
SPOTIFY_CLIENT_ID=your spotify client id
SPOTIFY_SECRET=your spotify secret
SPOTIFY_USERNAME=your spotify username
# --- Twitch (required) ---
# Can be obtained from https://twitchtokengenerator.com
TWITCH_CLIENT_ID=your twitch app client id
TWITCH_ACCESS_TOKEN=your twitch access token
TWITCH_REFRESH_TOKEN=your twitch refresh token
# Only needed for confidential apps; leave blank for a public client:
TWITCH_CLIENT_SECRET=
# The channel the bot listens in:
TWITCH_CHANNEL=your twitch channel
# The Twitch account the bot posts as (can be the same as the channel):
TWITCH_BOT_NAME=your bot account name
# --- Discord (optional) ---
# Webhook URLs for the channels where the queue / leaderboard should be posted.
# Leave blank to disable Discord integration.
DISCORD_QUEUE_WEBHOOK=
DISCORD_LEADERBOARD_WEBHOOK=
# --- Server API (required for control endpoints) ---
# Bearer token required to call the mutating API routes (start/stop, etc.).
# Leave blank and those routes are refused (fail closed); read-only routes stay
# open. Use a long random value, e.g. `openssl rand -hex 32`.
SERVER_API_TOKEN=
# Browser origins allowed to call the API (comma-separated). Only needed when a
# web dashboard is served from a different origin. Leave blank to allow any
# origin (mutations are still guarded by the token above).
SERVER_CORS_ORIGINS=