Application Template

The configuration for an environment in Release consists of default configuration in the form of default application level configuration + default environment variables + environment templates.

Release automatically generates an Application Template after the first build of the repository is complete. This configuration template is a combination of directives derived from your docker-compose and smart defaults generated by Release. All environments created by Release will use this template as a starting point to generated the specific Environment Configuration.

It consists of templates for your permanent and ephemeral environments, resources allocated for each service/environment, the services and jobs needed to run your application and workflows to setup your environments and deploy new code. Almost everything in this template is auto-generated and requires few or no changes.

The Application Template is used to create an environment specific configuration when you create a new environment. When you create a new environment whether it's ephemeral or permanent the starting configuration for that environment will be based on your Application Template.

Default Configuration

The default configuration that is generated by Release is located under your Application (left hand side-bar) in the Settings menu.

In order to view and edit your default configuration click 'Edit' to the right of 'Application Template'.

Example of an Application Template

This configuration template is the basis for all environments you will create for this application. Each of the sections and directives file help to create the configuration for your specific environment. The environment_templates section describes differences between your ephemeral and permanent templates and you select one of these when creating an environment. Each section and directive will be described in detail below in this document.