weave v2.1.2 Weave.Loaders.Environment
This loader will utilise the available environment variables to provide configuration. A prefix must be specified in the configuration:
config :weave, environment_prefix: "MY_APP_"
With the above configuration, any environment variables that begin with MY_APP_
will be sent to the handler. Please note, these will be “sanitized” before being sent to the handler.
This means “MY_APP_NAME” will become “name”
Link to this section Summary
Functions
Callback implementation for Weave.Loader.load_configuration/0
Link to this section Functions
Callback implementation for Weave.Loader.load_configuration/0
.