Skip to content

Deployment Innerworkings

Manuel Gauto edited this page Dec 1, 2016 · 3 revisions

This document is meant to give a overview of some of the inner workings of the deployment process. This was meant more to my ideas straight as I wrote this.

  1. A user requests a deployment with the API.

  2. A Deployment struct is made and saved without a containerID and with the status "Deploying"

  3. A docker container is created for the application.

  4. An NginxConfig struct is made with IsHttps, Destination, and DeploymentID

  5. The Deployment has its ContainerID set

  6. The proxy is created

  7. Deployment is updated in the database

  8. NginxConfig is Saved

Clone this wiki locally