-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
47 lines (43 loc) · 1.13 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
services:
db:
image: mysql
container_name: db
environment:
MYSQL_ROOT_PASSWORD: ${DBPass}
MYSQL_DATABASE: srcwrs
cap_add:
- SYS_NICE
volumes:
- db-data:/var/lib/mysql
phpmyadmin:
# latest was broken at the time of creation
image: phpmyadmin/phpmyadmin:5.1.1
container_name: pma
environment:
PMA_HOST: db
PMA_USER: root
PMA_PASSWORD: ${DBPass}
ports:
- 8081:80
depends_on:
- db
bot:
image: mitchellmerry/src-wrs-bot-v2
container_name: bot
environment:
DBHost: db
DBPort: ${DBPort}
DBPass: ${DBPass}
DBSync: ${DBSync}
DiscordToken: ${DiscordToken}
DiscordClient: ${DiscordClient}
DiscordAdmin: ${DiscordAdmin}
DiscordAdminGuild: ${DiscordAdminGuild}
DiscordSyncCommands: ${DiscordSyncCommands}
ports:
- 80:80
- 443:443
depends_on:
- db
volumes:
db-data: