Skip to content

Commit

Permalink
fix(configs/application.yml, Dockerfile): update Lavalink configurati…
Browse files Browse the repository at this point in the history
…on and dependencies
  • Loading branch information
Nat1anWasTaken committed May 12, 2024
1 parent 1e0177b commit c7c7d2f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ COPY --chown=1200:1200 . /lava
WORKDIR /lava
USER lava
RUN rm ./docker -r && \
curl -fsSL https://github.com/Nat1anWasTaken/Lavalink/releases/download/4.0.6/Lavalink.jar -o /lava/lavalink.jar
curl -fsSL https://github.com/lavalink-devs/Lavalink/releases/download/${LAVALINK_VERSION}/Lavalink.jar -o /lava/lavalink.jar

USER root
ENV S6_VERBOSITY=1 \
Expand Down
13 changes: 12 additions & 1 deletion configs/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ lavalink:
server:
password: "youshallnotpass"
sources:
youtube: true
youtube: false
bandcamp: true
soundcloud: true
twitch: true
Expand Down Expand Up @@ -34,6 +34,17 @@ lavalink:
youtubeSearchEnabled: true
soundcloudSearchEnabled: true
gc-warnings: true
plugins:
- dependency: "dev.lavalink.youtube:youtube-plugin:1.2.0"
snapshot: false

plugins:
youtube:
enabled: true
allowSearch: true
allowDirectVideoIds: true
allowDirectPlaylistIds: true
clients: [ "MUSIC", "ANDROID", "WEB" ]

metrics:
prometheus:
Expand Down

0 comments on commit c7c7d2f

Please sign in to comment.