-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
41 lines (38 loc) · 935 Bytes
/
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
version: '3.3'
services:
db:
image: mysql
restart: always
environment:
MYSQL_DATABASE: 'trackmania'
MYSQL_USER: 'trackmania'
MYSQL_PASSWORD: 'trackmania'
MYSQL_RANDOM_ROOT_PASSWORD: 'y'
volumes:
- ./mysql:/var/lib/mysql
networks:
- tm_net
tm-evo:
build: evo-dockerfile
restart: always
environment:
GAME_SETTINGS: 'tracklist.txt'
CONFIG: 'dedicated_cfg.txt'
ports:
- '2350:2350'
- '2350:2350/udp'
volumes:
- ./tm-config:/app/UserData/Config
- ./tm-maps:/app/UserData/Maps
- ./evo-config:/app/config
### Mirrors a specific config file as the server.config.json,
### to be used for mutiple server instances
# - ${PWD}/evo-config/specific-server.config.json:/app/config/server.config.json
- ./logs:/app/Logs
depends_on:
- db
networks:
- tm_net
networks:
tm_net:
driver: bridge