Supports environment and application config in an opinionated way.
Starting from the lowest priority to the highest:
- all reference.confs are loaded from the classpath and merged; the order is not defined.
- application.conf is loaded from the classpath
- ENV.conf is loaded from working dir, user home, and classpath in that order, and merged.
- override.conf is loaded from working dir and user home and merged.
Override.conf is designed to allow easy, temporary, overrides at runtime for a particular process,
and therefore is only ever loaded from the user home and cwd.
The env config is designed to change between environments. The filename has a placeholder $ENV which is
replaced by the value of the system property called by default CONFIG_ENV.
If no env is found, it will default to LOCAL.
Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Supports environment and application config in an opinionated way.
Starting from the lowest priority to the highest:
- all reference.confs are loaded from the classpath and merged; the order is not defined. - application.conf is loaded from the classpath - ENV.conf is loaded from working dir, user home, and classpath in that order, and merged. - override.conf is loaded from working dir and user home and merged.
Override.conf is designed to allow easy, temporary, overrides at runtime for a particular process, and therefore is only ever loaded from the user home and cwd.
The env config is designed to change between environments. The filename has a placeholder $ENV which is replaced by the value of the system property called by default CONFIG_ENV. If no env is found, it will default to LOCAL.