MicroProfile Config
MicroProfile Config defines a set of supported default ConfigSources
for environment variables, system properties, and META-INF/microprofile-config.properties
files on the classpath, with specific ordinals.
Magnolia also supports configuration properties files (and YAML files too) on webapp level, under WEB-INF/config/default/microprofile-config.properties
.
Magnolia can scan more locations for configuration properties files and uses the SmallRye Config library for implementation.
Therefore, it supports passing such locations through the smallrye.config.locations
config property.
This enables developers to build containerized images of Magnolia once, and deploy anywhere, using — for example — Docker bind mounts, or Kubernetes ConfigMaps.