JACOBSMILE / tmodloader1.4

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

Simple question regarding port change. #50

Closed 480sdrg closed 7 months ago

480sdrg commented 8 months ago

Is there anyway to change the port in the container environment variables or is there a different way? Port 7777 doesn't work with TrueNAS Scale and its integrated container feature as it requires all ports to be above 9000, I think it has to do with Kubernetes. Thank you for your work.

JACOBSMILE commented 8 months ago

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

JDesignEra commented 8 months ago

Hi, will this be worked on? Appreciate your work. Thank you.

JACOBSMILE commented 8 months ago

My apologies. I've been down with the flu and haven't gotten the chance yet. I will soon though.

JDesignEra commented 8 months ago

Looking forward to it. Hope you get well soon. And again, thanks for your work.

JACOBSMILE commented 7 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.