-
-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy path.env.example
More file actions
72 lines (61 loc) 路 3.08 KB
/
Copy path.env.example
File metadata and controls
72 lines (61 loc) 路 3.08 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# Discord Bot Configuration
# Get your token from https://discord.com/developers/applications
TOKEN=your_discord_bot_token_here
# Optional: Spotify Configuration
# To enable Spotify support, set SPOTIFY_ENABLED=true and provide your credentials
# Get your credentials from: https://developer.spotify.com/dashboard/applications
SPOTIFY_ENABLED=false
SPOTIFY_CLIENT_ID=your_spotify_client_id_here
SPOTIFY_CLIENT_SECRET=your_spotify_client_secret_here
# Lavalink Server Configuration
# If all three values below are set, BeatDock connects to your Lavalink server.
# If left empty or commented out, BeatDock automatically uses free public Lavalink servers.
LAVALINK_HOST=lavalink
LAVALINK_PORT=2333
LAVALINK_PASSWORD=youshallnotpass
# Optional: restrict public Lavalink fallback to specific hosts or wildcard domains.
# Example: PUBLIC_NODE_HOST_ALLOWLIST=node.example.com,*.trusted-lavalink.net
#PUBLIC_NODE_HOST_ALLOWLIST=
# --- YouTube poToken auto-refresh (restores non-music videos + autoplay/RD mixes) ---
# Only used by the self-hosted Docker stack (bgutil-provider + pot-refresher services).
# How often (seconds) the pot-refresher mints a fresh poToken and pushes it to Lavalink.
# poTokens can expire in ~12h; the default re-pushes well within that and also recovers
# playback after a Lavalink restart. Lower = faster restart recovery, negligible extra load.
#POT_REFRESH_INTERVAL=1800
# Optional: Language Settings
#DEFAULT_LANGUAGE=en
# Optional: Disconnection Settings
QUEUE_EMPTY_DESTROY_MS=30000
EMPTY_CHANNEL_DESTROY_MS=60000
# Optional: Permission Settings
# Comma-separated list of role IDs that can use the bot
# Leave empty to allow everyone to use the bot
# Example: ALLOWED_ROLES=123456789012345678,234567890123456789
ALLOWED_ROLES=
# Optional: Audio Settings
# Default volume for music playback (0-100, defaults to 80 if not set or invalid)
DEFAULT_VOLUME=80
# Optional: Autoplay Settings
# Set to true to enable autoplay by default when music starts playing (default: false)
#AUTOPLAY_DEFAULT=false
# How many related tracks autoplay queues each time the queue empties (default: 25)
#AUTOPLAY_TARGET_COUNT=25
# Optional: Default Search Platform Settings
# Default search platform for user queries (default: ytmsearch)
# Supported platforms include: ytsearch (YouTube), ytmsearch (YouTube Music), and more depending on your Lavalink setup.
# Platform Options: https://lc4.gitbook.io/lavalink-client/docs/other-types/searchplatform/lavalinksearchplatform
DEFAULT_SEARCH_PLATFORM=ytmsearch
# Optional: Logging Settings
# Log level: debug, info, warn, error (default: info)
#LOG_LEVEL=info
# Optional: Lavalink Reconnection Settings
# Maximum number of reconnection attempts (default: 10)
LAVALINK_MAX_RECONNECT_ATTEMPTS=10
# Base delay for exponential backoff in milliseconds (default: 1000)
LAVALINK_BASE_DELAY_MS=1000
# Maximum delay for exponential backoff in milliseconds (default: 30000)
LAVALINK_MAX_DELAY_MS=30000
# Health check interval in milliseconds (default: 30000)
LAVALINK_HEALTH_CHECK_INTERVAL_MS=30000
# Reset reconnection attempts after this many minutes (default: 5)
LAVALINK_RESET_ATTEMPTS_AFTER_MINUTES=5