Merge pull request #18 from Moonlight-Panel/AdditionalPortEnvMapper

Update WingsServerConverter.cs
This commit is contained in:
Marcel Baumgartner
2023-04-03 00:19:09 +02:00
committed by GitHub

View File

@@ -81,6 +81,13 @@ public class WingsServerConverter
}
}
int i = 0;
foreach (var allocation in server.Allocations)
{
wingsServer.Settings.Environment.Add("ML_PORT_" + i, allocation.Port.ToString());
i++;
}
// Stop
if (image.StopCommand.StartsWith("!"))
{