Sign inSign up

harha/trackmania-server-docker

By harha

•Updated about 5 years ago

Docker image for running a trackmania 2020 dedicated server easily.

Image
2

10K+

harha/trackmania-server-docker repository overview

⁠trackmania-server-docker

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

⁠compose

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
⁠Environment variables
⁠SERVER_TITLE

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
⁠SERVER_NAME

The visible name for the server.

⁠PyPlanet configuration

PyPlanet controller can be configured via compose/pyplanet/settings/*.yaml files. For documentation, go to: https://pypla.net/en/latest/intro/configuration.html⁠

Tag summary

Content type

Image

Digest

Size

432.4 MB

Last updated

about 5 years ago

docker pull harha/trackmania-server-docker:pyplanet