...
1version: "3.7"
2services:
3
4 main:
5 image: formulabun/srb2kart:1.6.0
6 container_name: srb2kart
7 restart: unless-stopped
8 build:
9 dockerfile: Dockerfile.srb2kart
10 ports:
11 - "${SRB2KART_MAIN_PORT}:${SRB2KART_MAIN_PORT}/udp"
12 command: bonuschars.kart -port ${SRB2KART_MAIN_PORT}
13 stdin_open: true
14 tty: true
15 volumes:
16 - type: bind
17 source: "${LUAFILESOURCE}"
18 target: "/luafiles"
19 - type: bind
20 source: "${CONFIGSOURCE}"
21 target: "/configs"
22 - type: volume
23 source: addons
24 target: "/addons"
25 - type: bind
26 source: "${ADDONSOURCE}"
27 target: "/repo"
28
29 addons:
30 image: bash
31 container_name: manage_addons
32 volumes:
33 - type: volume
34 source: addons
35 target: "/addonsmain"
36 - type: bind
37 source: "${ADDONSOURCE}"
38 target: "/repo"
39
40 discord:
41 image: formulabun/discord:1.0.0
42 container_name: discord
43 restart: unless-stopped
44 build:
45 context: ./discord
46 dockerfile: Dockerfile
47 env_file: .env
48 environment:
49 TOKEN: "${DISCORD_TOKEN}"
50 APPLICATIONID: "${DISCORD_APPLICATION}"
51 TESTGUILD: "${DISCORD_TESTGUILD}"
52
53 translator:
54 image: formulabun/translator:1.0.0
55 container_name: translator
56 restart: unless-stopped
57 build:
58 context: ./translator
59 dockerfile: Dockerfile
60 ports:
61 - "5092:5092/tcp"
62 environment:
63 TARGET: "${IP}:${SRB2KART_MAIN_PORT}"
64
65 ingest.replays:
66 image: formulabun/replaystore:0.1.0
67 container_name: replaysingest
68 ports:
69 - "8080:8080/tcp"
70 build:
71 context: ./replays
72 dockerfile: Dockerfile.ingest
73 volumes:
74 - replays:/data
75 env_file: .env
76
77 replays.staff:
78 image: formulabun/replaystaff:0.1.0
79 container_name: replaysstaff
80 build:
81 context: ./replays
82 dockerfile: Dockerfile.staff
83 volumes:
84 - replays:/data
85
86 replay.db:
87 image: mariadb:10.5
88 container_name: replaydb
89 ports:
90 - "3306:3306/tcp"
91 environment:
92 MARIADB_DATABASE: replays
93 env_file: .env
94 volumes:
95 - ./databases/replays/test_init.sql:/docker-entrypoint-initdb.d/init.sql
96
97 site:
98 image: formulabun/site:1.0.0
99 container_name: site
100 ports:
101 - "8080:8080/tcp"
102 build:
103 context: ./site
104 dockerfile: Dockerfile
105
106volumes:
107 replays:
108 addons:
109
View as plain text