-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
64 lines (60 loc) · 1.93 KB
/
docker-compose.yaml
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
version: "3.8"
services:
mads-bot:
image: plerx2493/mads:latest
environment:
- MADS_DISCORD_TOKEN=<Token>
- MADS_DEFAULT_PREFIX=!
- MADS_MINIMUM_LOG_LEVEL=0
- MADS_DATABASE_CONNECTION_STRING=Server=mads-db-core,Port=3306;Database=mads;User=mads;Password=mads;
- MADS_DATABASE_CONNECTION_STRING_QUARTZ=Server=mads-db-quartz,Port=3306;Database=quartz;User=quartz;Password=quartz;
- MADS_DISCORD_WEBHOOK=<Webhook>
- MADS_DM_PROXY_CHANNEL_ID=0
- MADS_DEEPL_API_KEY=<API-Key>
networks:
- mads_internal:
ipv4_address: 10.6.0.2
depends_on:
- mads-db-core
- mads-db-quartz
restart: unless-stopped
mads-db-core:
image: mariadb:latest
environment:
MYSQL_ROOT_PASSWORD: mads
MYSQL_DATABASE: mads
MYSQL_USER: mads
MYSQL_PASSWORD: mads
volumes:
- data_mads_core:/var/lib/mysql
networks:
- mads_internal:
ipv4_address: 10.6.0.3
hostname: mads-db-core
restart: unless-stopped
mads-db-quartz:
image: plerx2493/quartz-db-mysql:latest
environment:
MYSQL_ROOT_PASSWORD: quartz
MYSQL_DATABASE: quartz
MYSQL_USER: quartz
MYSQL_PASSWORD: quartz
volumes:
- data_mads_quartz:/var/lib/mysql
networks:
- mads_internal:
ipv4_address: 10.6.0.4
hostname: mads-db-quartz
restart: unless-stopped
networks:
mads_internal:
driver: bridge
ipam:
config:
- subnet: 10.6.0.0/16
gateway: 10.6.0.1
volumes:
data_mads_quartz:
driver: local
data_mads_core:
driver: local