forked from appujet/lavamusic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
70 lines (66 loc) · 2.33 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
version: "3.8"
services:
mongodb:
container_name: lavamusic-mongodb
image: mongo:latest
environment:
MONGO_INITDB_ROOT_USERNAME: mongoadmin
MONGO_INITDB_ROOT_PASSWORD: mongopassword
restart: on-failure
volumes:
- mongodb_data:/data/db
lavalink:
container_name: lavamusic-lavalink
image: fredboat/lavalink:dev
environment:
SERVER_PORT: 2333
SERVER_ADDRESS: 0.0.0.0
LAVALINK_SERVER_PASSWORD: "youshallnotpass"
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_FRAME_BUFFER_DURATIONS_MS: 5000
LAVALINK_SERVER_TRACK_STRUCK_THRESHOLD_MS: 10000
LAVALINK_SERVER_YOUTUBE_PLAYLIST_LOAD_LIMIT: 6
LAVALINK_SERVER_PLAYER_UPDATE_INTERVAL: 5
LAVALINK_SERVER_YOUTUBE_SEARCH_ENABLED: 'true'
LAVALINK_SERVER_SOUNDCLOUD_SEARCH_ENABLED: 'true'
#LAVALINK_SERVER_YOUTUBE_CONFIG_EMAIL:
#LAVALINK_SERVER_YOUTUBE_CONFIG_PASSWORD:
LAVALINK_SERVER_SENTRY_DSN: ""
restart: on-failure
lavamusic:
container_name: lavamusic
image: ghcr.io/brblacky/lavamusic:main
environment:
TOKEN: "your bot token" # Your bot token
PREFIX: "your bot prefix" # Your bot prefix
OWNER_IDS: "your id" # Your id
CLIENT_ID: "your bot id" # Your bot id
GUILD_ID: "" # Your server Id if you want to use the for single server
PRODUCTION: "true" # true for production
SEARCH_ENGINE: "ytsearch" # ytsearch, scsearch or ytmsearch
MAX_PLAYLIST_SIZE: "100" # Max playlist size
MAX_QUEUE_SIZE: "100" # Max queue size
DATABASE_URL: "mongodb://mongoadmin:mongopassword@db:27017" # Your mongodb url
LAVALINK_URL: "localhost:2333" # Your lavalink url
LAVALINK_AUTH: "youshallnotpass" # Your lavalink password
LAVALINK_NAME: "Blacky" # Your lavalink name
LAVALINK_SECURE: "false" # true if you are using https
restart: on-failure
depends_on:
- lavalink
- mongodb
links:
- mongodb:db
- lavalink
volumes:
mongodb_data:
networks:
default:
name: net-lavamusic