discord-bot/lavalink/application.yml
loki5512344 1aaaa0361b
fix(lavalink): drop lavalink.plugins config block, load jars from plugins/ dir
Lavalink 4.2.2 re-downloads/verifies config-declared plugins on startup and
failed writing to the git-managed plugins bind mount (Permission denied,
container uid 322 vs root-owned files after git pull). Jars in the plugins
directory are loaded directly; remove the duplicate config block.
2026-08-19 14:04:53 +02:00

54 lines
1.1 KiB
YAML

server:
port: 2333
address: 0.0.0.0
plugins:
youtube:
enabled: true
clients:
- MUSIC
- WEB
- ANDROID_VR
lavasrc:
providers:
- "ytsearch:\"%ISRC%\""
- "ytsearch:%QUERY%"
sources:
spotify: true
applemusic: true
deezer: false
yandexmusic: false
spotify:
clientId: "${SPOTIFY_CLIENT_ID}"
clientSecret: "${SPOTIFY_CLIENT_SECRET}"
countryCode: "RU"
playlistLoadLimit: 10
albumLoadLimit: 10
preferPartnerApi: true
customTokenEndpoint: "http://spotify-tokener:8086/api/token"
applemusic:
countryCode: "RU"
mediaType: "music"
playlistLoadLimit: 6
lavalink:
server:
password: "Hch4HiVCxkKs9JPiSnrt4Q"
sources:
youtube: false
soundcloud: true
bandcamp: true
twitch: true
http: true
local: false
bufferDurationMs: 400
youtubePlaylistLoadLimit: 6
playerUpdateInterval: 5
youtubeSearchEnabled: false
soundcloudSearchEnabled: true
gc-warnings: true
logging:
level:
root: INFO
lavalink: INFO