This gists created after struggling to setup IdentityServer4 in Docker.
The idea is to create local certificates for development, and setup developement environment. In this example proxy is outside Docker.
Generating certificates taken from How to create an HTTPS certificate