Thank you Jan will be testing that.
J
jmcmilian686
@jmcmilian686
0
Reputation
2
Posts
631
Profile views
0
Followers
0
Following
Posts made by jmcmilian686
-
RE: move ASP.Net Core local jsReport configuration to Docker service.
-
move ASP.Net Core local jsReport configuration to Docker service.
Hello I'm new with jsReport and I have to move a local Asp.Net Core service to a docker external one but we define some initial configurations in the local service that I have no idea how to move to the container config :
var localReporting = new LocalReporting() .UseBinary(RuntimeInformation.IsOSPlatform(OSPlatform.Linux) ? jsreport.Binary.Linux.JsReportBinary.GetBinary() : jsreport.Binary.JsReportBinary.GetBinary()) .KillRunningJsReportProcesses() .Configure(cfg => { cfg.AllowLocalFilesAccess = true; cfg.ReportTimeout = jsReportTimeout; cfg.Chrome = new ChromeConfiguration { Timeout = jsReportTimeout, Strategy = ChromeStrategy.ChromePool, NumberOfWorkers = jsReportNumberOfWorkers }; cfg.HttpPort = jsReportHttpPort; return cfg; }) .AsUtility() .Create(); services.AddJsReport(localReporting);
Some of the cfg stuff is what we like to configure in the docker service.
Any help on how to do that?
Thank you