weave v2.0.0 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”

Summary

Functions

load_configuration()
load_configuration() :: :ok

Callback implementation for Weave.Loader.load_configuration/0.