此内容没有您所选择的语言版本。
Chapter 1. Red Hat build of Quarkus configuration options
Configuration options enable you to change the settings of your application in a single configuration file. Quarkus supports configuration profiles that let you group related properties and switch between profiles as required.
You can use the MicroProfile Config specification from the Eclipse MicroProfile project to inject configuration properties into your application and configure them using a method defined in your code. By default, Quarkus reads properties from the application.properties
file located in the src/main/resources
directory.
By adding the config-yaml
dependency to your project pom.xml
file you can add your application properties in the application.yaml
file using the YAML format.
Quarkus can also read application properties from different sources, such as the file system, database, or any source that can be loaded by a Java application.