Search…
Environment Variables
Describes how to create and manage environment variables for a particular environment.
When you create an environment ReleaseHub creates an Environment Configuration and environment variables specific to this particular environment. The environment variables that will ultimately be exposed to your container/s are in the file specific to your environment, in the exact same way the specific environment configuration dictates environment behavior.
The environment specific environment variables are located Environment Details page, right below the Environment Specific Configuration.
Click Edit to modify the environment variables
There is only a single structural differences between the Default Environment Variables and the environment-specific variables mentioned in this section.
  • The default file groups all the default environment variables under defaults while in the environment specific file the variables that will be exposed to every container are under a heading of envs. There are much more details and examples in the links on this page.
Mapping and Services are exactly the same and will be carried over from the defaults into your specific environment variable file, and you can change and remove them there.
mapping:
type: Hash
description: Maps ReleaseHub variables to your app's variables
required: false
defaults:
type: Array
description: Default environment variables for your app
required: true
services:
type: Hash
description: Service specific environment variables
required: false
Environment Specific Environment Variables Schema
The schema for individual environment variables is the same as the default file.
Copy link