forked from appujet/lavamusic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
93 lines (88 loc) · 2.79 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
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
lavalink-monitor:
container_name: Lavalink-Monitor
image: ghcr.io/brblacky/lavalink-status:latest
environment:
CHANNEL_ID: "channel id to post stats in"
TOKEN: "your lavalink server status bot token"
NODE_HOST: "lavalink"
NODE_ID: "lavamusic-lavalink"
NODE_PORT: "2333"
NODE_PASSWORD: "youshallnotpass"
NODE_SECURE: "false"
restart: on-failure
depends_on:
- lavalink
links:
- lavalink
lavamusic:
container_name: lavamusic
image: ghcr.io/brblacky/lavamusic:main
environment:
TOKEN: "put your bot token"
PREFIX: "your bot prefix"
OWNER_ID: "your discord id"
CLIENT_ID: "your id linked to the bot"
SPOTIFY_ID: "Spotify client id"
SPOTIFY_SECRET: "Spotify client secret"
MONGO_URL: "mongodb://mongoadmin:mongopassword@db:27017"
EMBED_COLOR: "embed color"
LOGS: "logs channel id"
ERROR_LOGS_CHANNEL: "error logs channel"
IMG: "setup system background image"
SUPPORT: "support server invite link"
INVITE: "bot invite link"
NODE_HOST: "lavalink"
NODE_ID: "lavamusic-lavalink"
NODE_PORT: "2333"
NODE_PASSWORD: "youshallnotpass"
NODE_SECURE: "false"
SEARCH_PLATFORM: "youtube music"
AGGREGATED_SEARCH_ORDER: "youtube music,youtube,soundcloud"
restart: on-failure
depends_on:
- lavalink
- mongodb
links:
- mongodb:db
- lavalink
volumes:
mongodb_data:
networks:
default:
name: net-lavamusic