Deed debug handler. Added installation handler. Improved docker console streaming

This commit is contained in:
2025-09-13 20:53:03 +02:00
parent 160446eed0
commit 32f447d268
6 changed files with 204 additions and 19 deletions

View File

@@ -97,7 +97,8 @@ public class Startup
Bandwidth = 0,
Variables = new Dictionary<string, string>()
{
{ "SERVER_JARFILE", "server.jar" }
{ "SERVER_JARFILE", "server.jar" },
{ "MINECRAFT_VERSION", "latest" },
}
};
@@ -115,6 +116,13 @@ public class Startup
Console.WriteLine(transition.Destination);
});
Console.Write("Press enter to install server");
Console.ReadLine();
await s.StateMachine.FireAsync(ServerTrigger.Install);
Console.ReadLine();
Console.Write("Press enter to start server");
Console.ReadLine();