User Guides

Environment Configuration

By default, the environment name is loaded from an environment variable named ENV. If your hosting environment does not allow you to setup environment variables, or if you'd simply like to change this behaviour, you may override it by creating a config file named env.yaml.

For example, to have the environment name retrieved from the contents of a file, you would simply create a new config file at config/default/env.yaml with the following contents:

env: FILE:file_containing_env_name.txt