Package

com.sksamuel.exts

config

Permalink

package config

Visibility
  1. Public
  2. All

Value Members

  1. object ConfigLoader extends Logging

    Permalink

    Supports environment and application config in an opinionated way.

    Supports environment and application config in an opinionated way.

    The environment config is loaded from a file called ${env}.conf where env is determined from a property called CONFIG_ENV. If no env is found, it will fallback to LOCAL

    The application config is loaded from the name specified. Eg if the app name is "foo" then the application conf is foo.conf This is expected to be located in the classpath.

    Finally an override conf can be located in the cwd only, which will be applied as first priority.

Ungrouped