Deploy a new environment
Objective
You are about to deploy a new environment that contains an nginx. The Nginx default port is 80 and is already allocated by the Dashboard Nginx in the Dashboard Environment. Learn how to create a new Catalog Recipe and use it when you deploy an Nginx in a new environment.
Steps
- Create Nginx Catalog Recipe
- Deploy Nginx
Step 1
Go to Module Develop → Catalog Recipes, you will find that the installer already created a recipe named Dashboard Nginx Recipe. The catalog recipes modules provides the ability to create new entries from other recipes.
- Create a new recipe from Dashboard Nginx Recipe
- Give it a new name
- Change the port configuration
- Change the values named published of both http and https ports
- Reference Link: Catalog Recipes#nginxRecipe
- Configure the environment variables
- Change the values named published of both http and https ports
Step 2
- Go to Deploy → Clouds & Deployments
- Click on Deploy environment
- for the Nginx section, pick the recipe you created
- Fill the rest of the form inputs
- Submit
Your environment will deploy in a few minutes where the Nginx is configured to use the recipe you created last.