Chapter 3. Generating an example configuration file for your Quarkus application

You can create an file with all of the available configuration values and documentation for the extensions your application is configured to use. You can repeat this procedure after you install a new extension to see what additional configuration options have been added.


  • You have a Quarkus Maven project.


  • To create an file, enter the following command:

    ./mvnw quarkus:generate-config

    This command creates the file in the src/main/resources/ directory. The file contains all of the configuration options exposed through the extensions that you installed. These options are commented out and have a default value where applicable.

    The following example shows the HTTP port configuration entry from the file: