I’m running Kubernetes (docker image ironmansoftware/universal:5.0.8-ubuntu-20.04)
Below is my config file appsettings.linux.json
{
"Kestrel": {
"Endpoints": {
"HTTP": {
"Url": "http://*:5000",
"Protocols": "Http1AndHttp2"
}
},
"RedirectToHttps": "false",
"Hsts": {
"MaxAgeDays": 365
},
"AddServerHeader": "true",
"Headers": {}
},
"ApplicationInsights": {
"InstrumentationKey": "xxxxxxxxxxxxxxxxxxxxxxxx"
},
"Plugins": [
"SQLite"
],
"AllowedHosts": "*",
"SystemLogPath": "%HOME%/PowerShellUniversal/systemLog.txt",
"SystemLogLevel": "Error",
"PSUTelemetry": false,
"Data": {
"RepositoryPath": "%HOME%/.PowerShellUniversal/Repository",
"ConnectionString": "Data Source=%HOME%/.PowerShellUniversal/psu.db",
"RunMigrations": true,
"DatabaseType": "LiteDB",
"GitRemote": "",
"GitUserName": "",
"GitPassword": "",
"GitBranch": "",
"GitSyncBehavior": "TwoWay",
"GitInitializeBehavior": "",
"GitSyncInterval": "1",
"GitSyncTimeout": 60,
"ConfigurationScript": "",
"ExternalGitClient": false,
"Mode": "Manual"
},
"Api": {
"Url": "",
"GrpcPort": 0,
"SecurityModel": "Strict",
"TrustCertificate": false
},
"Authentication": {
"Windows": {
"Enabled": "false"
},
"WSFed": {
"Enabled": "false",
"MetadataAddress": "",
"Wtrealm": "",
"CallbackPath": "/auth/signin-wsfed",
"Wreply": "",
"UseTokenLifetime": true,
"CorrelationCookieSameSite": ""
},
"OIDC": {
"Enabled": "false",
"CallbackPath": "/auth/signin-oidc",
"ClientID": "",
"ClientSecret": "",
"Resource": "",
"Authority": "",
"ResponseType": "",
"SaveTokens": "false",
"CorrelationCookieSameSite": "",
"UseTokenLifetime": true,
"Scope": "openid profile groups",
"GetUserInfo": false
},
"ClientCertificate": {
"Enabled": "false"
},
"SessionTimeout": "25"
},
"Jwt": {
"SigningKey": "PleaseUseYourOwnSigningKeyHere",
"Issuer": "IronmanSoftware",
"Audience": "PowerShellUniversal"
},
"UniversalAutomation": {
"Queues": [],
"JobHandshakeTimeout": 30,
"JobDebugging": false,
"ContinueJobOnServerStop": false,
"HangfireWorkerCount": 100
},
"UniversalDashboard": {
"AssetsFolder": "%HOME%/.PowerShellUniversal/Dashboard",
"DashboardStartupTimeout": 10
},
"Secrets": {
"SecretStore": {
"Password": "PSUSecretStore"
},
"Database": {
"EncryptionKey": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"Password": "",
"KeySize": "128"
}
},
"ShowDevTools": false,
"HideAdminConsole": false,
"Profiling": false,
"NodeName": ""
}
What configuration do I need to change?
Can it be changed via an environment variable?
Thanks for your help