Este conteúdo não está disponível no idioma selecionado.
Chapter 3. Generating an example configuration file for your Quarkus application
You can create an application.properties.example file with all of the available configuration values and documentation for the extensions that 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.
Prerequisites
- Have a Quarkus Maven project.
Procedure
To create an
application.properties.examplefile, enter the following command:./mvnw quarkus:generate-config
./mvnw quarkus:generate-configCopy to Clipboard Copied! Toggle word wrap Toggle overflow This command creates the
application.properties.examplefile in thesrc/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
application.properties.examplefile:#quarkus.http.port=8080
#quarkus.http.port=8080Copy to Clipboard Copied! Toggle word wrap Toggle overflow