compose/trackmania/compose.yaml

45 lines
1.1 KiB
YAML
Raw Permalink Normal View History

2023-03-09 22:10:22 +01:00
version: '3.8'
services:
tmserver:
image: fanyx/tmserver:2.1.0
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:/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"
# - "2350:2350/udp"
# - "3450:3450/udp"
db:
image: mysql:5
container_name: trackmania_db
restart: always
environment:
- MYSQL_ROOT_PASSWORD=tmforever
- MYSQL_DATABASE=trackmania
- MYSQL_USER=trackmania
- MYSQL_PASSWORD=tmforever
volumes:
- trackmania-db:/var/lib/mysql
pma:
image: phpmyadmin/phpmyadmin:4.9
container_name: trackmania_phpmyadmin
depends_on:
- db
environment:
- PMA_HOST=db
restart: always
# ports:
# - "8080:80"
volumes:
trackmania-db: