2022-06-26 17:55:10 +02:00
|
|
|
version: '3.8'
|
2019-05-12 11:18:28 +02:00
|
|
|
services:
|
2022-06-26 17:55:10 +02:00
|
|
|
tmserver:
|
|
|
|
image: fanyx/tmserver:2.0.0
|
|
|
|
container_name: trackmania_tmserver
|
|
|
|
depends_on:
|
|
|
|
- db
|
|
|
|
restart: always
|
|
|
|
env_file: .env
|
|
|
|
volumes:
|
|
|
|
- ./tracks:/var/lib/tmserver/GameData/Tracks/Challenges/Custom # => Custom tracks
|
|
|
|
- ./blacklist:/var/lib/xaseco/blacklist # => Plugin blacklist
|
|
|
|
- ./plugins:/var/lib/xaseco/plugins/custom # => Custom plugins
|
|
|
|
- ./config:/var/lib/xaseco/config # => Custom configuration files
|
|
|
|
ports:
|
|
|
|
- "2350:2350/udp"
|
|
|
|
- "3450:3450/udp"
|
2019-05-12 11:18:28 +02:00
|
|
|
db:
|
|
|
|
image: mysql:5
|
|
|
|
container_name: trackmania_db
|
|
|
|
restart: always
|
2022-06-26 17:55:10 +02:00
|
|
|
env_file: .env-mysql
|
2019-05-12 11:18:28 +02:00
|
|
|
volumes:
|
2022-06-26 17:55:10 +02:00
|
|
|
- trackmania-db:/var/lib/mysql
|
2019-05-12 11:18:28 +02:00
|
|
|
pma:
|
|
|
|
image: phpmyadmin/phpmyadmin
|
|
|
|
container_name: trackmania_phpmyadmin
|
|
|
|
depends_on:
|
|
|
|
- db
|
|
|
|
environment:
|
2019-09-17 19:40:48 +02:00
|
|
|
- PMA_HOST=db
|
2019-05-12 11:18:28 +02:00
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- "8080:80"
|
2022-06-26 17:55:10 +02:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
trackmania-db:
|