Product: PowerShell Universal
Version: 3.5.5
@adam and team,
Thanks for having a look at my issue. I am a bit green on the Docker front.
I am attempting to deploy my working localhost configuration of PSU to a Docker Container.
Effectively, I created a local folder that has the following folders/files (I copied them to .docker folder as I realized the dockerfile statements were only copying from the location of my dockerfile):
dockerfile:
appsettings.json
{
"Kestrel": {
"Endpoints": {
"HTTP": {
"Url": "http://*:443"
}
},
"RedirectToHttps": "false",
"UseHttpSys": "false",
"BasePath": ""
},
"ApplicationInsights": {
"InstrumentationKey": ""
},
"Logging": {
"Path": "%PROGRAMDATA%/PowerShellUniversal/log.txt",
"RetainedFileCountLimit": 31,
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information",
"Grpc": "Information"
}
},
"AllowedHosts": "*",
"CorsHosts": "",
"Plugins": [
"UniversalAutomation.LiteDBv5"
],
"Data": {
"RepositoryPath": "%HOME%/data/Repository",
"ConnectionString": "filename=%HOME%/data/Repository/database.db;upgrade=true",
"RunMigrations": true,
"GitRemote": "",
"GitUserName": "",
"GitPassword": "",
"GitBranch": "",
"GitSyncBehavior": "TwoWay",
"GitInitializeBehavior": "",
"GitSyncInterval": "1",
"ConfigurationScript": "",
"Mode": "Manual"
},
"Api": {
"Url": "",
"GrpcPort": 0
},
"Authentication": {
"Windows": {
"Enabled": "false"
},
"WSFed": {
"Enabled": "false",
"MetadataAddress": "",
"Wtrealm": "",
"CallbackPath": "/auth/signin-wsfed",
"Wreply": "",
"UseTokenLifetime": true,
"CorrelationCookieSameSite": ""
},
"OIDC": {
"Enabled": "true",
"CallbackPath": "/auth/signin-oidc",
"ClientID": "<REDACTED>",
"ClientSecret": "<REDACTED>",
"Resource": "",
"Authority": "https://login.microsoftonline.com/<REDACTED>",
"ResponseType": "code",
"SaveTokens": "false",
"CorrelationCookieSameSite": "",
"UseTokenLifetime": true,
"Scope": "openid profile groups",
"GetUserInfo": true
},
"ClientCertificate": {
"Enabled": "false"
},
"SessionTimeout": "25"
},
"Jwt": {
"SigningKey": "PleaseUseYourOwnSigningKeyHere",
"Issuer": "IronmanSoftware",
"Audience": "PowerShellUniversal"
},
"UniversalAutomation": {
"JobHandshakeTimeout": 5,
"JobDebugging": false,
"ContinueJobOnServerStop": false
},
"UniversalDashboard": {
"AssetsFolder": "%ProgramData%\\PowerShellUniversal\\Dashboard",
"DashboardStartupTimeout": 10
},
"Secrets": {
"SecretStore": {
"Password": "PSUSecretStore"
}
},
"ShowDevTools": false,
"HideAdminConsole": false,
"Profiling": false
}
Configuration
When I mount the container I see my files including appsettings.json
Each DOCKER cmd:
What am I missing? Your input would be greatly appreciated.
Thank you,
Kevin