docker-tmserver/README.md

35 lines
1.9 KiB
Markdown
Raw Normal View History

2019-05-09 14:21:12 +02:00
# docker-tmserver
2019-05-12 22:19:06 +02:00
Docker images for simple or customizable Trackmania Nations Forever server.
2019-05-11 01:05:14 +02:00
2019-05-12 22:19:06 +02:00
## How to use this repo:
2019-05-12 22:20:24 +02:00
Run the images in this repo with `docker-compose`.
2019-05-12 22:19:06 +02:00
I've included a template [`docker-compose.yml`](https://github.com/ryluth/docker-tmserver/blob/master/docker-compose.yml) in this repo to get you going.
2019-05-11 01:05:14 +02:00
2019-05-12 22:19:06 +02:00
### Required:
#### tmserver:
- `$SERVER_LOGIN` | Server account login
- `$SERVER_LOGIN_PASSWORD` | Server account password
- `$SERVER_SA_PASSWORD` | Password for SuperAdmin credential
- `$SERVER_ADM_PASSWORD` | Password for Admin credential
#### xaseco:
- `$SERVER_SA_PASSWORD` | Password for SuperAdmin credential
- `$DB_HOST` | -> subject to deletion since i'm gonna lock it down
- `$DB_LOGIN` | ^
- `$DB_LOGIN_PASSWORD` | ^
- `$DB_NAME` | ^
2019-05-11 01:05:14 +02:00
2019-05-11 02:03:22 +02:00
### Optional environment variables are:
2019-05-12 22:19:06 +02:00
#### tmserver:
- `$SERVER_PORT` | Port for server communications -> Default : 2350
- `$SERVER_P2P_PORT` | Port for peer2peer communication -> Default : 3450
- `$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
2019-05-12 11:09:18 +02:00
## Configuring the Trackmania server
2019-05-12 22:20:24 +02:00
Without manual configuration the server launches with Nadeo's default config.
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/`.
**IMPORTANT!!**
After making changes to the server configuration run `docker-compose build` to rebuild the container images, otherwise the changes won't be in effect.