-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
45 lines (42 loc) · 1.09 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
version: "3.9"
services:
mariadb:
container_name: MariaDB
image: mariadb
restart: always
environment:
MARIADB_USER: aivapt
MARIADB_PASSWORD: ${MARIADB_PASSWORD}
MARIADB_ROOT_PASSWORD: ${MARIADB_PASSWORD}
MARIADB_DATABASE: aivaptdotnet
expose:
- 3306
volumes:
- /var/lib/mysql:/var/lib/mysql
- ./Migrations:/docker-entrypoint-initdb.d
lavalink:
container_name: Lavalink
image: fredboat/lavalink:dev
restart: always
environment:
AIVAPT__LAVALINK_PASSWORD: ${AIVAPT__LAVALINK_PASSWORD}
expose:
- 2333
volumes:
- ./lavalink_config.yml:/opt/Lavalink/application.yml
bot:
container_name: AivaptDotNet
image: bot
restart: always
environment:
AIVAPT__LAVALINK_PASSWORD: ${AIVAPT__LAVALINK_PASSWORD}
AIVAPT__DB_CONNECTION_STRING: ${AIVAPT__DB_CONNECTION_STRING}
AIVAPT__BOT_TOKEN: ${AIVAPT__BOT_TOKEN}
AIVAPT__ADMIN_ID: ${AIVAPT__ADMIN_ID}
build:
context: .
dockerfile: Dockerfile
target: runtime
depends_on:
- mariadb
- lavalink