|
| 1 | +server: # REST and WS server |
| 2 | + port: 2333 |
| 3 | + address: 0.0.0.0 |
| 4 | +lavalink: |
| 5 | + server: |
| 6 | + password: "dreamvast" |
| 7 | + sources: |
| 8 | + youtube: true |
| 9 | + bandcamp: true |
| 10 | + soundcloud: true |
| 11 | + twitch: true |
| 12 | + vimeo: true |
| 13 | + http: true |
| 14 | + local: false |
| 15 | + bufferDurationMs: 400 # The duration of the NAS buffer. Higher values fare better against longer GC pauses. Minimum of 40ms, lower values may introduce pauses. |
| 16 | + frameBufferDurationMs: 5000 # How many milliseconds of audio to keep buffered |
| 17 | + trackStuckThresholdMs: 10000 # The threshold for how long a track can be stuck. A track is stuck if does not return any audio data. |
| 18 | + youtubePlaylistLoadLimit: 6 # Number of pages at 100 each |
| 19 | + playerUpdateInterval: 5 # How frequently to send player updates to clients, in seconds |
| 20 | + youtubeSearchEnabled: true |
| 21 | + soundcloudSearchEnabled: true |
| 22 | + gc-warnings: true |
| 23 | + #ratelimit: |
| 24 | + #ipBlocks: ["1.0.0.0/8", "..."] # list of ip blocks |
| 25 | + #excludedIps: ["...", "..."] # ips which should be explicit excluded from usage by lavalink |
| 26 | + #strategy: "RotateOnBan" # RotateOnBan | LoadBalance | NanoSwitch | RotatingNanoSwitch |
| 27 | + #searchTriggersFail: true # Whether a search 429 should trigger marking the ip as failing |
| 28 | + #retryLimit: -1 # -1 = use default lavaplayer value | 0 = infinity | >0 = retry will happen this numbers times |
| 29 | + #youtubeConfig: # Required for avoiding all age restrictions by YouTube, some restricted videos still can be played without. |
| 30 | + #email: "" # Email of Google account |
| 31 | + #password: "" # Password of Google account |
| 32 | + #httpConfig: # Useful for blocking bad-actors from ip-grabbing your music node and attacking it, this way only the http proxy will be attacked |
| 33 | + #proxyHost: "localhost" # Hostname of the proxy, (ip or domain) |
| 34 | + #proxyPort: 3128 # Proxy port, 3128 is the default for squidProxy |
| 35 | + #proxyUser: "" # Optional user for basic authentication fields, leave blank if you don't use basic auth |
| 36 | + #proxyPassword: "" # Password for basic authentication |
| 37 | + |
| 38 | +metrics: |
| 39 | + prometheus: |
| 40 | + enabled: false |
| 41 | + endpoint: /metrics |
| 42 | + |
| 43 | +sentry: |
| 44 | + dsn: "" |
| 45 | + environment: "" |
| 46 | +# tags: |
| 47 | +# some_key: some_value |
| 48 | +# another_key: another_value |
| 49 | + |
| 50 | +logging: |
| 51 | + file: |
| 52 | + max-history: 30 |
| 53 | + max-size: 1GB |
| 54 | + path: ./logs/ |
| 55 | + |
| 56 | + level: |
| 57 | + root: INFO |
| 58 | + lavalink: INFO |
0 commit comments