Added Environment Variables for docker
This commit is contained in:
parent
c585467471
commit
174c29aef7
2 changed files with 5 additions and 0 deletions
|
|
@ -37,6 +37,11 @@ namespace LightReflectiveMirror
|
|||
{
|
||||
conf = JsonConvert.DeserializeObject<Config>(File.ReadAllText(CONFIG_PATH));
|
||||
|
||||
// Docker variables.
|
||||
ushort.TryParse(Environment.GetEnvironmentVariable("LRM_ENDPOINT_PORT"), out conf.EndpointPort);
|
||||
|
||||
ushort.TryParse(Environment.GetEnvironmentVariable("LRM_TRANSPORT_PORT"), out conf.TransportPort);
|
||||
|
||||
WriteLogMessage("Loading Assembly... ", ConsoleColor.White, true);
|
||||
try
|
||||
{
|
||||
|
|
|
|||
BIN
ServerProject-DONT-IMPORT-INTO-UNITY/MultiCompiled.dll
Normal file
BIN
ServerProject-DONT-IMPORT-INTO-UNITY/MultiCompiled.dll
Normal file
Binary file not shown.
Loading…
Reference in a new issue