This commit is contained in:
Unknown 2024-04-04 09:12:23 -07:00
parent 307522a8bb
commit a5fe2a1cee
2 changed files with 1 additions and 32 deletions

View file

@ -1,30 +0,0 @@
services:
lavalink:
# pin the image version to Lavalink v4
image: ghcr.io/lavalink-devs/lavalink:4
container_name: lavalink
restart: unless-stopped
environment:
# set Java options here
- _JAVA_OPTIONS=-Xmx6G
# set lavalink server port
- SERVER_PORT=2333
# set password for lavalink
- LAVALINK_SERVER_PASSWORD=youshallnotpass
volumes:
# mount application.yml from the same directory or use environment variables
- ./application.yml:/opt/Lavalink/application.yml
# persist plugins between restarts, make sure to set the correct permissions (user: 322, group: 322)
- ./plugins/:/opt/Lavalink/plugins/
networks:
- lavalink
expose:
# lavalink exposes port 2333 to connect to for other containers (this is for documentation purposes only)
- 2333
ports:
# you only need this if you want to make your lavalink accessible from outside of containers
- "2333:2333"
networks:
# create a lavalink network you can add other containers to, to give them access to Lavalink
lavalink:
name: lavalink

View file

@ -61,7 +61,6 @@
"moment": "^2.29.4",
"moment-duration-format": "^2.3.2",
"moment-timezone": "^0.5.39",
"mongodb": "^6.5.0",
"mongoose": "^6.8.0",
"ms": "^2.1.3",
"node-fetch": "^2.6.6",
@ -73,4 +72,4 @@
"weather-js": "^2.0.0",
"ytdl-core": "^4.11.2"
}
}
}