avaje / avaje-config

Application configuration / properties loading for JVM applications
https://avaje.io/config
Apache License 2.0
47 stars 7 forks source link

Multi-Profile support #79

Closed SentryMan closed 1 year ago

SentryMan commented 1 year ago

Currently, to have profiles we do.

load.properties=application-${profile:local}.properties

and set the command line args.env variables.

This is pretty good, but doesn't support multiple profiles.

I propose we add native support for profiles such that if profile=dev,docker the files application-dev.properties and application-docker.properties will be loaded