Skip to content

Commit

Permalink
Clarify when smallrye.config.profile must be set (#1164)
Browse files Browse the repository at this point in the history
  • Loading branch information
radcortez authored May 7, 2024
1 parent e3d0e4a commit 16e34bf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions documentation/src/main/docs/config/profiles.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ Any lookup to the `http.port` property name will first search by the active prof
fallback to `http.port` if no value is present. In this case a lookup to the property `http.port` with the `dev` profile
active, yields the value `8181`.

!!! attention

The profile must be set in one of the primary sources (system properties, environment variables,
`application.properties`, or any other source that does not require configuration) to determine the proper
configuration.

## Profile aware files

Properties for a specific profile may reside in a `microprofile-config-{profile}.properties` named file. The previous
Expand Down

0 comments on commit 16e34bf

Please sign in to comment.