doc(Readme): add Running doc

This commit is contained in:
Luc Duriez
2020-06-04 17:53:56 +02:00
parent 7e208e2325
commit 8cbbdd0eb0

View File

@@ -8,13 +8,38 @@ Only lan dedicated is enable (internet dedicated will be added in future version
Server management webui provided base on [AdminServ](https://github.com/Chris92de/AdminServ)
## Running
On a docker environment simply do the following
```bash
docker run -d -p 2350:2350 -p 3450:3450 -p 80:80 --name tm-server lduriez/tmserver
```
### Configure Server Management Webui
Visit `http:<host-server-of-the-conntainer>` and start configuration by setting the password of your choice.
This password will be the AdminServ password for configurations (add TM server)
Then add TM server information (you can let all by default). Be sure that `Address` is set to `localhost` in order to manage our embed server.
Once you saved, you can go to Servers list by pushing "Servers" button and then go to management server list with button "Back".
You should see the server you added, in the to banner you ca go to the management environment.
Select the server you want to manage, the admin level you want to go in, and tape the password of this admion level.
By default `SuperAdmin` password is `SuperAdmin`, `Admin` password is `Admin`, `User` password is `User`. (You can modify the admin level in configuration settings `http:<host-server-of-the-conntainer>/config`)
Congratulation you can now manage your TM server.
Enjoy your game.
## Exposed ports
* 2350/tcp game server port
* 2350/udp game server port
* 3450/tcp p2p game server port
* 5000/tcp xmlrpc remote control port
* 443/tcp server management webui port
* 80/tcp server management webui port
## Environment variables