Creating server daemon. Added system info (not host info) and data usage endpoints
This commit is contained in:
26
MoonlightServers.Daemon/Configuration/AppConfiguration.cs
Normal file
26
MoonlightServers.Daemon/Configuration/AppConfiguration.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
namespace MoonlightServers.Daemon.Configuration;
|
||||
|
||||
public class AppConfiguration
|
||||
{
|
||||
public DockerData Docker { get; set; } = new();
|
||||
public StorageData Storage { get; set; } = new();
|
||||
public SecurityData Security { get; set; } = new();
|
||||
|
||||
public class DockerData
|
||||
{
|
||||
public string Uri { get; set; } = "unix:///var/run/docker.sock";
|
||||
}
|
||||
|
||||
public class SecurityData
|
||||
{
|
||||
public string Token { get; set; }
|
||||
}
|
||||
|
||||
public class StorageData
|
||||
{
|
||||
public string Volumes { get; set; }
|
||||
public string VirtualDisks { get; set; }
|
||||
public string Backups { get; set; }
|
||||
public string Install { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user