Creating and starting stacks

The basic idea of a stack is a collection of multiple containers running on isolated but is on the same network for communicating with each other.

For example, inside a LAMP stack, php-fpm can connect to Apache and MySQL

Creating a stack

  1. Go to Images
  2. Select an image. LEMP, LAMP, etc
  3. Deploy the image and enter the required settings. Stack ID is prefilled with a generated name, make sure to change that to identify the stack later on
  4. Hit Save & Deploy

A stack once created doesn’t take any space until you start it

Starting a stack

Once you click on the “Start” button, the app fires docker-compose commands which usually take at least 10-15 mins, this happens only the first time you create a stack. Consecutive deployments are much faster