-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (37 loc) · 1013 Bytes
/
docker-compose.yml
File metadata and controls
39 lines (37 loc) · 1013 Bytes
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.3
container_name: trackmania_tmserver
depends_on:
- db
restart: always
env_file: .env
volumes:
- ./tracks:/var/lib/tmserver/GameData/Tracks/Challenges/Custom # => Custom tracks
- ./plugins:/var/lib/xaseco/plugins/custom # => Custom plugins
- ./config:/var/lib/xaseco/config # => Custom configuration files
# - ./playlist.txt:/var/lib/tmserver/playlist.txt # => Custom playlist
# - ./blacklist.txt:/var/lib/xaseco/blacklist.txt # => Plugin blacklist
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: