This commit is contained in:
Hendrik Boll 2019-05-12 11:10:39 +02:00
commit 32b89ce4df
1 changed files with 6 additions and 4 deletions

View File

@ -7,10 +7,6 @@ Docker image for simple or customizable Trackmania Nations Forever server
### There are several required environment variables that you need to set: ### There are several required environment variables that you need to set:
- `$SERVER_LOGIN` | Server account login - `$SERVER_LOGIN` | Server account login
- `$SERVER_LOGIN_PASSWORD` | Server account password - `$SERVER_LOGIN_PASSWORD` | Server account password
- `$DB_HOST` | Hostname of the MySQL-Server
- `$DB_NAME` | Name of the MySQL-Database
- `$DB_LOGIN` | Name of the database user
- `$DB_LOGIN_PASSWORD` | Password to the database user
### Optional environment variables are: ### Optional environment variables are:
- `$SERVER_PORT` | Port for server communications -> Default : 2350 - `$SERVER_PORT` | Port for server communications -> Default : 2350
@ -25,6 +21,12 @@ Docker image for simple or customizable Trackmania Nations Forever server
I have a default [`docker-compose.yml`](https://github.com/ryluth/docker-tmserver/blob/master/docker-compose.yml) included in this repository. I have a default [`docker-compose.yml`](https://github.com/ryluth/docker-tmserver/blob/master/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. 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 ## Further information
You can open volumes to the Trackmania server files and Xaseco files (`docker-compose` does this per default) and edit configuration files. 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. 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.