discord-music-bot/application.yml

31 lines
820 B
YAML

server:
port: 2333
address: 0.0.0.0
password: ${LAVALINK_SERVER_PASSWORD:testing-lavalink-dont-touch} # Changed to use LAVALINK_SERVER_PASSWORD env var
logging:
level:
root: INFO
lavalink: INFO
lavalink:
server:
sources:
youtube: true
bandcamp: true
soundcloud: true
twitch: true
vimeo: true
http: true
local: false
resamplingQuality: LOW
bufferDurationMs: 400
frameBufferDurationMs: 5000
gc-warnings: true
plugins: []
# Add specific IPs allowed to connect (your bot container)
# Set as 0.0.0.0/0 to allow connections from anywhere (not recommended for production)
# This is important for Docker environments
server.ip-rotation: false
server.ip-blocks: ["10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "127.0.0.1", "0.0.0.0/0"]