adding depends and env variables for lavalink
This commit is contained in:
parent
b0ec60e243
commit
4dacde0016
1 changed files with 17 additions and 3 deletions
|
@ -13,15 +13,29 @@ services:
|
|||
- PREFIX=yourPrefix
|
||||
volumes:
|
||||
- /here/your/path/:/db
|
||||
- /here/your/path/:application.yml # Use this if you want to use the cog music.py
|
||||
depends_on: # Remove theses two lines if you
|
||||
- lavalink # don't want to use the music.py cog
|
||||
restart: unless-stopped
|
||||
|
||||
# Use this if you want to use the cog music.py, otherwise delete this part
|
||||
lavalink:
|
||||
image: fredboat/lavalink:master
|
||||
container_name: KassouBot-Lavalink
|
||||
environment:
|
||||
- SERVER_PORT=2333
|
||||
- SERVER_ADDRESS=0.0.0.0
|
||||
- LAVALINK_SERVER_PASSWORD="youshallnotpass"
|
||||
- LAVALINK_SERVER_WS_PORT=80
|
||||
- LAVALINK_SERVER_WS_HOST=0.0.0.0
|
||||
- LAVALINK_SERVER_SOURCES_YOUTUBE=true
|
||||
- LAVALINK_SERVER_SOURCES_BANDCAMP=true
|
||||
- LAVALINK_SERVER_SOURCES_SOUNDCLOUD=true
|
||||
- LAVALINK_SERVER_SOURCES_TWITCH=true
|
||||
- LAVALINK_SERVER_SOURCES_VIMEO=true
|
||||
- LAVALINK_SERVER_SOURCES_HTTP=true
|
||||
- LAVALINK_SERVER_SOURCES_LOCAL=false
|
||||
- LAVALINK_SERVER_BUFFER_DURATION_MS=400
|
||||
- LAVALINK_SERVER_YOUTUBE_PLAYLIST_LOAD_LIMIT=600
|
||||
ports:
|
||||
- 5432:5432
|
||||
volumes:
|
||||
- /here/your/path/:/ # Use the same path as the one for the Lavalink folder in kassoubot service
|
||||
restart: unless-stopped
|
||||
|
|
Reference in a new issue