docker-tmserver/docker-compose.yml

39 lines
987 B
YAML
Raw Permalink Normal View History

2022-06-26 17:55:10 +02:00
services:
tmserver:
2024-06-26 12:29:48 +02:00
image: fanyx/tmserver:2.2.0
2022-06-26 17:55:10 +02:00
container_name: trackmania_tmserver
depends_on:
- db
restart: always
env_file: .env
volumes:
- ./tracks:/var/lib/tmserver/GameData/Tracks/Challenges/Custom # => Custom tracks
2022-06-26 19:36:36 +02:00
- ./playlist.txt:/var/lib/tmserver/playlist.txt # => Custom playlist
2022-06-26 17:55:10 +02:00
- ./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"
2022-06-26 17:55:10 +02:00
- "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: