How to Add/Remove Environment Variables

Environment variable can be configured for application usage, as illustrated below:

1
2
3
4
5
6
7
---
orocloud_options:
  application:
    env_vars:
      'var1': 'value1'
      'var1': 'value2'
      'varN': 'valueN'
  • env_vars — the hash where the key is an environment variable name, and the value is the environment variable value.

How to Configure Environment Type Based Application

1
2
3
4
5
 ---
 orocloud_options:
   application:
     env_vars:
       'ORO_DEPLOYMENT_TYPE': 'local'
  • local - deployment_type, which will be set to parameters.yml for your deployed application as
1
 deployment_type: local

Note

For more details on the environment type based application configuration, please see the related documentation in the backend developer guide.