What are Templates
A Template contains the full definition of an environment - resource allocations, the services and jobs needed to run your applications with predetermined configuration values while still allowing you to customize the configuration.
Templates are the recommended way to create Environments in Bunnyshell. You can use them to effortlessly create Environments, in a consistent and replicable manner.
The platform provides a number of Environment Templates, for you to understand how they look like and how they can be leveraged, but also allows you to define your own custom Templates.
Bunnyshell Templates
Templates provided by Bunnyshell (will) cover most used technology stacks, and they serve both as an example on how you can define Environments in Bunnyshell, with interconnected Components, and will also allow you to quickly start a new project.
Bunnyshell Templates include best-practices for every stack, with the Environments supporting to be deployed:
- in a prod/staging context, in a lightweight setup, with a container image as small as possible
- for (remote) development, with development dependencies included and configured for debugging
Custom Templates
Every team needs to customize their Environments based on their own needs, imposed by the packages and libraries being used, business requirements and various internal or external compliance constraints.
Therefore, you can add your own Templates in Bunnyshell, by storing them in a Git repository (or more) of your choosing.
Updated about 1 year ago