microsoft / fast

The adaptive interface system for modern web experiences.
https://www.fast.design
Other
9.28k stars 594 forks source link

Create ci/cd using docker for Azure #78

Closed awentzel closed 6 years ago

awentzel commented 6 years ago

Wire up Continuous Deployment using docker images for Azure https://ms.portal.azure.com/#resource/subscriptions/456b8669-6142-4a7b-b4a6-adf39c80289e/resourceGroups/fluent-web-resource-group/providers/Microsoft.Web/sites/fluentweb/customContainer

  1. Automate the complete process through Docker to create App Service on Azure
  2. Configure the new server created with custom DNS
  3. Configure the new server created with SSL
  4. Configure the new server to use the correct public docker image
  5. If updates have to be made to docker image publish on docker hub under fluent web so Azure can access Create a container registry on Azure Hub https://github.com/prashanthmadi/nodejs-sample-wafc Use this https://hub.docker.com/r/keymetrics/pm2/ for Azure instance. Official node images https://hub.docker.com/_/node/

We have static nginx docker image. We should create another one that is specific for Node configure so we can control through docker container. This would allow us to roll-out configuration changes to all prototypes with a simple GitHub.com update on the docker image.

Create docker container for the most common basic prototypes a. node 8.1 on linux

This will configure to be used by all azure node projects

AZURE Docker

https://ourwayoflyf.com/running-react-app-in-app-service-linux/

https://github.com/Azure-App-Service

https://ourwayoflyf.com/support-multiple-versions-of-nodejs-in-single-dockerfile/

https://github.com/prashanthmadi/azure-appservice-nginx/blob/master/Dockerfile

https://github.com/azure-app-service/node

Create a container registry on Azure Hub https://github.com/prashanthmadi/nodejs-sample-wafc Use this https://hub.docker.com/r/keymetrics/pm2/ for Azure instance. Official node images https://hub.docker.com/_/node/

awentzel commented 6 years ago

This was originally necessary because Azure App Service did not support H2 on specific caching requirements of our applications. Now it does. We would only need to go with Docker if there is a specific configuration we cannot get from Azure otherwise. At this time this is no longer needed.