Skip to content

Commit

Permalink
Merge pull request #18310 from radcortez/config-docs
Browse files Browse the repository at this point in the history
Clarify profile aware files vs profile properties
  • Loading branch information
gsmet authored Jul 1, 2021
2 parents 6dc1698 + cc13ce3 commit b2e4970
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/src/main/asciidoc/config-reference.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -259,17 +259,21 @@ example may be expressed as:
[source,properties]
----
quarkus.http.port=9090
%staging.quarkus.http.test-port=9091
----

.application-staging.properties
[source,properties]
----
quarkus.http.port=9999
quarkus.http.port=9190
quarkus.http.test-port=9191
----

[NOTE]
====
In this style, the configuration names in the profile aware file do not need to be prefixed with the profile name.
Properties in the profile aware file have priority over profile aware properties defined in the main file.
====

=== Parent Profile
Expand Down

0 comments on commit b2e4970

Please sign in to comment.