Server reale e veste Docker (M5): composizione, collegamento, vista remota, salute, immagine e modello Unraid
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Mzbb6zeFTjT6Rp8b92AVkA
This commit is contained in:
35 files changed
+6124
-10
No files matched your search
@@ -1,4 +1,4 @@
|
||||
// Composition root for Linux and Docker. Filled in by milestones M3–M5.
|
||||
// Composition root for Linux and Docker (spec §5, §11).
|
||||
using Febe.Server;
|
||||
|
||||
Console.OutputEncoding = System.Text.Encoding.UTF8;
|
||||
@@ -13,6 +13,16 @@ if (DemoCommand.Matches(args))
|
||||
return await DemoCommand.RunAsync(args, Console.Out, Console.Error);
|
||||
}
|
||||
|
||||
Console.WriteLine("Febe");
|
||||
Console.WriteLine("Comandi: --demo (interfaccia con dati dimostrativi), --simula 30g --profilo prudente (simulazione del motore).");
|
||||
return 0;
|
||||
if (HealthCheckCommand.Matches(args))
|
||||
{
|
||||
return await HealthCheckCommand.RunAsync(Environment.GetEnvironmentVariable, Console.Out);
|
||||
}
|
||||
|
||||
if (args.Any(a => a is "--aiuto" or "--help" or "-h"))
|
||||
{
|
||||
Console.WriteLine(ServerCommand.Usage);
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Default: the real server (Docker edition).
|
||||
return await ServerCommand.RunAsync(args, Console.Out, Console.Error);
|
||||
Reference in new issue
Block a user