Deploy .NET to Docker
Full Title or Meme
How to move an application from Visual Studio to a Docker Container on Digital Ocean.
Most Docker solutions work well with Apache or NGINX, some special considerations are needed to get a simple task from from .NET on Visual Studio.
- Most sites now use Let's Encrypt Certificates which come with simple scripts for Apache, but no help for Windows.
There are two distinct parts fo the dealoyment and maintenance of the application plus a little bit of glue to stick one part to the other.
- This example shows use on the Digital Ocean provider accessing it with ssh.
- To access ssh as root sign into
Deploying the App via Github.com
- An access token is required from GitHub.
Setting up a HTTPS connection
This section shows the the of Let's Encrypt certificates, which have a life of just 3 months, but is free. Other sites have a life of one year but charge money. Two year certificates are no longer acceptable to many browsers.