-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathapplication.yml
77 lines (71 loc) · 2.38 KB
/
application.yml
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
73
74
75
76
77
server: # REST and WS server
port: 443
address: 0.0.0.0
lavalink:
server:
password: "visa2code"
playerUpdateInterval: 5 # How frequently to send player updates to clients, in seconds
statsTaskInterval: 60 # How frequently to send the node stats to clients, in seconds
koe:
useNAS: true # Native Audio Sending (udp-queue)
useEpoll: true # Native transport for Linux x86-64 & aarch64
useKQueue: false # Native transport for Darwin Aarch64
highPacketPriority: true
bufferDurationMs: 400
byteBufAllocator: "default"
sources:
# Remote sources
bandcamp: true
getyarn: true
http: true
odysee: true
reddit: true
rumble: true
soundcloud: true
tiktok: true
twitch: true
vimeo: true
yandex: true
youtube: true
# Local source
local: false
lavaplayer:
nonAllocating: false # Whether to use the non-allocating frame buffer.
frameBufferDuration: 5000 # The frame buffer duration, in milliseconds
youtubePlaylistLoadLimit: 6 # Number of pages at 100 each
gc-warnings: true
youtubeSearchEnabled: true
odyseeSearchEnabled: true
soundcloudSearchEnabled: true
yandexMusicSearchEnabled: true
#youtubeConfig: (Youtube account credentials, needed to play age restricted tracks)
#email: ""
#password: ""
# You can get your yandex oauth token here https://music-yandex-bot.ru/ used to remove the 30s limit on some tracks
#yandexOAuthToken:
#ratelimit:
#ipBlocks: ["1.0.0.0/8", "..."] # list of ip blocks
#excludedIps: ["...", "..."] # ips which should be explicit excluded from usage by lavalink
#strategy: "RotateOnBan" # RotateOnBan | LoadBalance | NanoSwitch | RotatingNanoSwitch
#searchTriggersFail: true # Whether a search 429 should trigger marking the ip as failing
#retryLimit: -1 # -1 = use default lavaplayer value | 0 = infinity | >0 = retry will happen this numbers times
metrics:
prometheus:
enabled: false
endpoint: /metrics
sentry:
dsn: ""
environment: ""
# tags:
# some_key: some_value
# another_key: another_value
logging:
file:
path: ./logs/
logback:
rollingpolicy:
max-file-size: 1GB
max-history: 30
level:
root: INFO
lavalink: INFO