This commit adds support to allow the LANCommander server to scale horizontally. Multiple instances of the application can be deployed for load-balancing purposes. This will require a load balancer in front of the instances, as well as either MySQL or PostgreSQL and a Redis cache.
24 lines
No EOL
1.1 KiB
C#
24 lines
No EOL
1.1 KiB
C#
namespace LANCommander.Server.Settings.Models;
|
|
|
|
public class ServerSettings
|
|
{
|
|
public ArchiveSettings Archives { get; set; } = new();
|
|
public AuthenticationSettings Authentication { get; set; } = new();
|
|
public BackupSettings Backups { get; set; } = new();
|
|
public BeaconSettings Beacon { get; set; } = new();
|
|
public DatabaseSettings Database { get; set; } = new();
|
|
public HQSettings HQ { get; set; } = new();
|
|
public HttpSettings Http { get; set; } = new();
|
|
public IGDBSettings IGDB { get; set; } = new();
|
|
public IPXRelaySettings IPXRelay { get; set; } = new();
|
|
public LauncherSettings Launcher { get; set; } = new();
|
|
public LibrarySettings Library { get; set; } = new();
|
|
public LogSettings Logs { get; set; } = new();
|
|
public MediaSettings Media { get; set; } = new();
|
|
public RoleSettings Roles { get; set; } = new();
|
|
public ScalingSettings Scaling { get; set; } = new();
|
|
public ScriptSettings Scripts { get; set; } = new();
|
|
public GameServerSettings GameServers { get; set; } = new();
|
|
public UpdateSettings Update { get; set; } = new();
|
|
public UserSaveSettings UserSaves { get; set; } = new();
|
|
} |