Skip to content

Commit

Permalink
chore: Update server configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
hmes98318 committed Oct 10, 2024
1 parent dc5d63e commit e2f3f1e
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 9 deletions.
34 changes: 29 additions & 5 deletions server/application.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,38 @@
server: # REST and WS server
port: 2333
address: 0.0.0.0

plugins:
# name: # Name of the plugin
# some_key: some_value # Some key-value pair for the plugin
# another_key: another_value
youtube:
enabled: true # Whether this source can be used.
allowSearch: true # Whether "ytsearch:" and "ytmsearch:" can be used.
allowDirectVideoIds: true # Whether just video IDs can match. If false, only complete URLs will be loaded.
allowDirectPlaylistIds: true # Whether just playlist IDs can match. If false, only complete URLs will be loaded.
# The clients to use for track loading. See below for a list of valid clients.
# Clients are queried in the order they are given (so the first client is queried first and so on...)
clients:
- MUSIC
- TVHTML5EMBEDDED
- ANDROID_MUSIC
- ANDROID_TESTSUITE
- WEB
oauth:
# setting "enabled: true" is the bare minimum to get OAuth working.
enabled: true

# if you have a refresh token, you may set it below (make sure to uncomment the line to apply it).
# setting a valid refresh token will skip the OAuth flow entirely. See above note on how to retrieve
# your refreshToken.
# refreshToken: "paste your refresh token here if applicable"

# Set this if you don't want the OAuth flow to be triggered, if you intend to supply a refresh token later.
# Initialization is skipped automatically if a valid refresh token is supplied. Leave this commented if you're
# completing the OAuth flow for the first time/do not have a refresh token.
# skipInitialization: true

lavalink:
plugins:
# https://github.com/lavalink-devs/youtube-source
- dependency: "dev.lavalink.youtube:youtube-plugin:1.7.2"
- dependency: "dev.lavalink.youtube:youtube-plugin:1.8.3" # https://github.com/lavalink-devs/youtube-source
repository: "https://maven.lavalink.dev/releases"
server:
password: "youshallnotpass"
Expand Down
6 changes: 2 additions & 4 deletions server/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
version: "3.8"

services:
lavalink:
image: fredboat/lavalink:3.7.12 # pin the image version to Lavalink v3
container_name: lavalink_v3
image: fredboat/lavalink:4.0.8 # pin the image version to Lavalink v3
container_name: lavalink_v4
restart: unless-stopped
environment:
- _JAVA_OPTIONS=-Xmx6G # set Java options here
Expand Down

0 comments on commit e2f3f1e

Please sign in to comment.