You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to deploy Bolero in the aspnet docker image from Microsoft.
This needs the app to listen on port 8080. The image enforces this with the env variable ASPNETCORE_HTTP_PORTS.
But Bolero seems to ignore this.
Anyone know how do I get this env variable to work?
Or a workaround?
The text was updated successfully, but these errors were encountered:
match System.Environment.GetEnvironmentVariable "ASPNETCORE_HTTP_PORTS" with | null -> () | port -> webHost.UseUrls $"http://localhost:{port}" |> ignore
Hmm, normally this should work. The Bolero project template uses WebApplication.CreateBuilder, just like standard ASP.NET Core templates, and not the older WebHost.CreateDefaultBuilder that the documentation says doesn't support ASPNETCORE_HTTP_PORTS.
I want to deploy Bolero in the aspnet docker image from Microsoft.
This needs the app to listen on port 8080. The image enforces this with the env variable ASPNETCORE_HTTP_PORTS.
But Bolero seems to ignore this.
Anyone know how do I get this env variable to work?
Or a workaround?
The text was updated successfully, but these errors were encountered: