Implemented first iteration of the docker-based server installer. Added restore functionality for the installer. Wired up for basic installer testing

This commit is contained in:
2025-07-29 22:24:46 +02:00
parent f57d33cb1e
commit bb81ca9674
9 changed files with 353 additions and 27 deletions

View File

@@ -16,10 +16,10 @@ public class ServerFactory
{
var scope = ServiceProvider.CreateAsyncScope();
var meta = scope.ServiceProvider.GetRequiredService<ServerContext>();
var context = scope.ServiceProvider.GetRequiredService<ServerContext>();
meta.Configuration = configuration;
meta.ServiceScope = scope;
context.Configuration = configuration;
context.ServiceScope = scope;
return scope.ServiceProvider.GetRequiredService<Server>();
}