Skip to content

Instantly share code, notes, and snippets.

@goyalmohit
Created September 23, 2018 09:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save goyalmohit/987c72db78e893c145d395086f43b5f2 to your computer and use it in GitHub Desktop.
Save goyalmohit/987c72db78e893c145d395086f43b5f2 to your computer and use it in GitHub Desktop.
Docker Compose sample for mapping krestel with SSL Certificate
...
ports:
- 5000:80
- 5001:443
environment:
ASPNETCORE_URLS: "https://+;http://+"
ASPNETCORE_Kestrel__Certificates__Default__Password: "YourSecurePassword"
ASPNETCORE_Kestrel__Certificates__Default__Path: "my_web_domain.pfx"
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment