Docker image(s) for running a trackmania 2020 dedicated server + pyplanet easily.
The project is divided into 2 images, separated by tags.
- :server
- This tag is the latest version of the trackmania server image
- Built from folder ./build-server
- :pyplanet
- This tag is the latest version of the pyplanet server controller image
- Built from folder ./build-pyplanet
The compose directory contains example compose & config files for actually starting & running container(s) with the built image(s).
You're supposed to edit it to your likings if you want to run your own server. Put your maps into the compose/maps
folder. Download from trackmania exchange.
Example compose command to deploy the stack. The p
argument specifies project name that you can change to easily deploy multiple server stacks on same machine.
docker-compose -p tm_server -f docker-compose.yaml up -d
You can also easily deploy the stack remotely to a target dedicated server (that has docker running in it)
DOCKER_HOST="ssh://[email protected]" docker-compose -p tm_server -f docker-compose.yaml up -d
The TitleID for the game the server should be running. By default set to Trackmania 2020. Possible values are:
- Trackmania
- SMStorm
- TMCanyon
- TMStadium
- TMValley
- TMLagoon
The visible name for the server.
PyPlanet controller can be configured via compose/pyplanet/settings/*.yaml
files. For documentation, go to: https://pypla.net/en/latest/intro/configuration.html