Docker image for simple or customizable Trackmania Nations/United Forever server.
Go to file
Hendrik Boll 9f16e73977 Updated TODO.md 2019-05-12 15:03:08 +02:00
docker-tmserver merged the tmserver and xaseco repository and included docker-compose.yml 2019-05-12 15:00:14 +02:00
docker-xaseco merged the tmserver and xaseco repository and included docker-compose.yml 2019-05-12 15:00:14 +02:00
.dockerignore several changeseveral changess 2019-05-11 04:11:24 +02:00
.gitignore removed .gitignore from commit files 2019-05-12 11:10:10 +02:00
LICENSE Initial commit 2019-05-09 14:21:12 +02:00
README.md Update README.md 2019-05-12 11:09:18 +02:00
TODO.md Updated TODO.md 2019-05-12 15:03:08 +02:00
docker-compose.yml merged the tmserver and xaseco repository and included docker-compose.yml 2019-05-12 15:00:14 +02:00

README.md

docker-tmserver

Docker image for simple or customizable Trackmania Nations Forever server

How to use this image

docker run -e {required environment variables} -p {selected ports} fanyx/tmserver

There are several required environment variables that you need to set:

  • $SERVER_LOGIN | Server account login
  • $SERVER_LOGIN_PASSWORD | Server account password

Optional environment variables are:

  • $SERVER_PORT | Port for server communications -> Default : 2350
  • $SERVER_P2P_PORT | Port for peer2peer communication -> Default : 3450
  • $SERVER_SA_PASSWORD | Password for SuperAdmin credential -> when left empty will be randomly generated
  • $SERVER_ADM_PASSWORD | Password for Admin credential -> when left empty will be randomly generated
  • $SERVER_NAME | Server name in ingame browser -> Default : "Trackmania Server"
  • $SERVER_COMMENT | Server description -> Default : "This is a Trackmania Server"
  • $SERVER_PASSWORD | If you want to secure your server against unwanted logins, set a server password

Running this image with docker-compose

I have a default docker-compose.yml included in this repository. You can adjust this file to your needs but running with docker-compose is more comfortable in general.

Configuring the Trackmania server

Without manual configuration the server launches with Nadeo's default config. This means round based driving. To configure the server on your own demands edit the config.txt file in tmserver/GameData/Config. To configure the tracklist edit the playlist.txt in tmserver/GameData/Tracks/MatchSettings/.

Further information

You can open volumes to the Trackmania server files and Xaseco files (docker-compose does this per default) and edit configuration files. This is needed since the default track playlist just runs the white Nadeo tracks so i advise examining the config volumes to adjust the track playlist. Furthermore you can edit the Xaseco plugins to your need and adjust ingame administrator accounts and so on.