Update README.md

This commit is contained in:
ryluth 2019-09-28 12:04:20 +02:00 committed by GitHub
parent 5307b4a83d
commit 13bd22657c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 0 deletions

View File

@ -64,3 +64,18 @@ Other configuration options are listed below:
- $LAPS_NBLAPS | number of laps for laps mode -> Default : 5 - $LAPS_NBLAPS | number of laps for laps mode -> Default : 5
- $LAPS_TIMELIMIT | time limit in milliseconds for laps mode -> Default : 0 - $LAPS_TIMELIMIT | time limit in milliseconds for laps mode -> Default : 0
``` ```
### Running custom tracks
You can run custom tracks by mounting a volume from where your tracks are stored to `/opt/tmserver/GameData/Tracks/Challenges/Custom`.
In this example i am storing my tracks in `./tracks` relative to the docker-compose file.
```
[...]
tmserver:
image: fanyx/tmserver:latest
[...]
volumes:
- ./tracks:/opt/tmserver/GameData/Tracks/Challenges/Custom
[...]
```