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
- Go to Images
- Select an image. LEMP, LAMP, etc
- 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
- 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