Goal of this docker is to have as tiny, no-bullshit, and versitile docker for Trackmania Nations Forever
Also available on Dockerhub at wortel538/tmnforever-server.
Docker-compose.yml
version: '3.5'
services:
tmserver:
image: 'wortel538/tmnationsforever-server:latest'
restart: unless-stopped
ports:
- '2350:2350'
- '3450:3450'
# - '5000:5000'
environment:
- MASTERSERVER_LOGIN=myusername
- MASTERSERVER_PASSWORD=computer123
Or cli
docker run -d \
--name=tmserver \
--restart unless-stopped \
-e MASTERSERVER_LOGIN=myusername \
-e MASTERSERVER_PASSWORD=computer123 \
-p 2350:2350 \
-p 3450:3450 \
wortel538/tmnationsforever-server:latest
Env variable | Description | Default | Required? |
---|---|---|---|
SERVER_SA_PASSWORD |
Server SuperAdmin password | SuperAdmin | No |
MASTERSERVER_LOGIN |
Masterserver login | (none) | Yes |
MASTERSERVER_PASSWORD |
Masterserver password | (none) | Yes |
MASTERSERVER_VALKEY |
Masterserver validation key (used for United) | (none) | Yes |
SERVER_NAME |
Server name | My Docker Trackmania server! | No |
SERVER_COMMENT |
Server comment | I love Docker | No |
SERVER_PASSWORD |
Server password | (none) | No |
FILE_DEDICATED_CFG |
File to dedicated cfg, this value is relative to GameData/Config/ | dedicated_cfg.txt | No |
FILE_MATCHSETTINGS |
File to Matchsettings config this value is relative to GameData/Tracks/ | MatchSettings/Nations/NationsGreen.txt | No |
XMLRPC_ALLOWREMOTE |
Allow XMLRPC to be reached remotely | False | No |
This docker is about 49 MB, compared to lduriez/tmserver (111 MB), that's about 44% smaller!