-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yml
38 lines (37 loc) · 995 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
services:
tmserver:
image: fanyx/tmserver:2.2.2
container_name: trackmania_tmserver
depends_on:
- db
restart: always
env_file: .env
volumes:
- ./tracks:/var/lib/tmserver/GameData/Tracks/Challenges/Custom # => Custom tracks
- ./playlist.txt:/var/lib/tmserver/playlist.txt # => Custom playlist
- ./blacklist.txt:/var/lib/xaseco/blacklist.txt # => Plugin blacklis1
- ./plugins:/var/lib/xaseco/plugins/custom # => Custom plugins
- ./config:/var/lib/xaseco/config # => Custom configuration files
ports:
- "2350:2350"
- "2350:2350/udp"
- "3450:3450/udp"
db:
image: mysql:5
container_name: trackmania_db
restart: always
env_file: .env-mysql
volumes:
- trackmania-db:/var/lib/mysql
pma:
image: phpmyadmin/phpmyadmin
container_name: trackmania_phpmyadmin
depends_on:
- db
environment:
- PMA_HOST=db
restart: always
ports:
- "8080:80"
volumes:
trackmania-db: