-
-
Notifications
You must be signed in to change notification settings - Fork 51
/
Copy pathdocker-compose.yml
38 lines (34 loc) · 866 Bytes
/
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
version: '3.1'
services:
db:
image: mariadb
command: --default-authentication-plugin=mysql_native_password
restart: always
environment:
# this should match the mysqlPassword entry in the configuration.docker.json file
MYSQL_ROOT_PASSWORD: securePassword123
volumes:
- sql-data:/var/lib/mysql
- ./Scripts:/docker-entrypoint-initdb.d
lavalink:
image: fredboat/lavalink:master
restart: always
volumes:
- ./application.yml:/opt/Lavalink/application.yml
musicbot:
build: .
restart: always
volumes:
- ./configuration.json:/app/configuration.json
- ./emojis.json:/app/emojis.json
depends_on:
- db
- lavalink
# can be useful for debugging the db
# adminer:
# image: adminer
# restart: always
# ports:
# - 3001:8080
volumes:
sql-data: