tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
InternalConfiguration.cs
Go to the documentation of this file.
2{
6 public sealed class InternalConfiguration
7 {
11 public const string Section = "Internal";
12
16 public string? CommandPipe { get; set; }
17
21 public string? ReadyPipe { get; set; }
22
26 public bool UsingSystemD { get; set; }
27
31 public bool UsingDocker { get; set; }
32
36 public string? DumpGraphQLApiPath { get; set; }
37
41 public bool EnableGraphQL
42#if DEBUG
43 => true;
44#else
45 { get; set; }
46#endif
47
51 public string AppSettingsBasePath { get; set; } = "UNINITIALIZED"; // this is set in a hacky way in ServerFactory
52
56 public bool MariaDBSetup { get; set; }
57
61 public string? MariaDBDefaultRootPassword { get; set; }
62 }
63}
Unstable configuration options used internally by TGS.
string? MariaDBDefaultRootPassword
Generate default configuration using the given DatabaseType.MariaDB default password.
bool UsingDocker
If the server is running inside of a Docker container.
bool EnableGraphQL
Enables hosting the experimental GraphQL API in Release builds.
string? CommandPipe
The name of the pipe opened by the host watchdog for sending commands, if any.
bool MariaDBSetup
Coerce the Setup.SetupWizard to select DatabaseType.MariaDB.
const string Section
The key for the Microsoft.Extensions.Configuration.IConfigurationSection the InternalConfiguration re...
string? ReadyPipe
The name of the pipe opened by the host watchdog for receiving commands, if any.
bool UsingSystemD
If the server is running under SystemD.
string? DumpGraphQLApiPath
Used at compile time to write the GraphQL API schema to this path and exit.
string AppSettingsBasePath
The base path for the app settings configuration files.