-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
120 lines (109 loc) · 2.6 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
version: "3.7"
services:
main:
image: formulabun/srb2kart:1.6.0
container_name: srb2kart
restart: unless-stopped
build:
dockerfile: Dockerfile.srb2kart
ports:
- "${SRB2KART_MAIN_PORT}:${SRB2KART_MAIN_PORT}/udp"
command: bonuschars.kart -port ${SRB2KART_MAIN_PORT}
stdin_open: true
tty: true
volumes:
- type: bind
source: "${LUAFILESOURCE}"
target: "/luafiles"
- type: bind
source: "${CONFIGSOURCE}"
target: "/configs"
- type: volume
source: addons
target: "/addons"
- type: bind
source: "${ADDONSOURCE}"
target: "/repo"
proxy:
image: formulabun/proxy:1.0.0
container_name: proxy
restart: unless-stopped
build:
context: ./proxy
dockerfile: Dockerfile
command: -kart main:5029 -kartProxy :5030 -msProxy 127.0.0.1:5080
ports:
- "5030:5030/udp"
addons:
image: bash
container_name: manage_addons
volumes:
- type: volume
source: addons
target: "/addonsmain"
- type: bind
source: "${ADDONSOURCE}"
target: "/repo"
discord:
image: formulabun/discord:1.0.0
container_name: discord
restart: unless-stopped
build:
context: ./discord
dockerfile: Dockerfile
env_file: .env
environment:
TOKEN: "${DISCORD_TOKEN}"
APPLICATIONID: "${DISCORD_APPLICATION}"
TESTGUILD: "${DISCORD_TESTGUILD}"
translator:
image: formulabun/translator:1.0.0
container_name: translator
restart: unless-stopped
build:
context: ./translator
dockerfile: Dockerfile
ports:
- "5092:5092/tcp"
environment:
TARGET: "${IP}:${SRB2KART_MAIN_PORT}"
ingest.replays:
image: formulabun/replaystore:0.1.0
container_name: replaysingest
ports:
- "8080:8080/tcp"
build:
context: ./replays
dockerfile: Dockerfile.ingest
volumes:
- replays:/data
env_file: .env
replays.staff:
image: formulabun/replaystaff:0.1.0
container_name: replaysstaff
build:
context: ./replays
dockerfile: Dockerfile.staff
volumes:
- replays:/data
replay.db:
image: mariadb:10.5
container_name: replaydb
ports:
- "3306:3306/tcp"
environment:
MARIADB_DATABASE: replays
env_file: .env
volumes:
- ./databases/replays/test_init.sql:/docker-entrypoint-initdb.d/init.sql
site:
image: formulabun/site:1.0.0
container_name: site
ports:
- "8080:8080/tcp"
build:
context: ./site
dockerfile: Dockerfile
volumes:
replays:
addons: