Skip to content

Commit

Permalink
chore: Update Docker Compose file to include lavalink network
Browse files Browse the repository at this point in the history
  • Loading branch information
appujet committed Jul 31, 2024
1 parent af92f6b commit f861f79
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@ services:
image: ghcr.io/lavalink-devs/lavalink
restart: on-failure
environment:
SERVER_PORT: 2333
SERVER_ADDRESS: 0.0.0.0
- SERVER_PORT=2333
volumes:
# mount application.yml from the same directory or use environment variables
- ./Lavalink/application.yml:/opt/Lavalink/application.yml
# persist plugins between restarts, make sure to set the correct permissions (user: 322, group: 322)
- ./Lavalink/plugins/:/opt/Lavalink/plugins/

networks:
- lavalink
#expose:
# lavalink exposes port 2333 to connect to for other containers (this is for documentation purposes only)
#- 2333
Expand Down Expand Up @@ -82,3 +84,6 @@ services:
depends_on:
lavalink:
condition: service_healthy
networks:
lavalink:
name: lavalink

0 comments on commit f861f79

Please sign in to comment.