JACOBSMILE / tmodloader1.4

An easy to configure Docker Image for tModLoader 1.4 servers.
Other
120 stars 29 forks source link

Add support for modifying the port of the server #49

Closed MwenDavo closed 5 months ago

MwenDavo commented 6 months ago

It would be a nice addition if you could send the port that the server will use as a environment variable, instead of being forced to 7777.

JACOBSMILE commented 5 months ago

Hi, yes I can look at it this weekend. Should be easy enough.

JACOBSMILE commented 5 months ago

This should be included now. There is a new environment variable TMOD_PORT you can use to override the default port of 7777. Make sure to change your port mapping from the host to the container.