Currently, docker-run.sh sed's out some placeholders in index.html for env vars that are set when running swagger-ui as a Docker container. This is great; however, there's a need to be able to set oauth2RedirectUrl in an environment variable as well – as right now this is 'baked in' to http://localhost:3200/oauth2-redirect.html .
In #2844 @bodnia suggests changing the constructor of SwaggerUIBundle, which I could obviously do; however, I'd rather use the stock image as it is.
Have you had any thoughts about exposing the config in swagger-config.yaml to environment variables?