Merge branch '2.4.x'

See gh-26654
This commit is contained in:
Stephane Nicoll
2021-05-26 09:27:52 +02:00
2 changed files with 28 additions and 0 deletions

View File

@@ -24,6 +24,16 @@ For example, you could include it in your `application.properties`, as shown in
You could also specify it on the command line by using the following switch: `--spring.profiles.active=dev,hsqldb`.
If no profile is active, a default profile is enabled.
The name of the default profile is `default` and it can be tuned using the configprop:spring.profiles.default[] `Environment` property, as shown in the following example:
[source,yaml,indent=0,subs="verbatim",configprops,configblocks]
----
spring:
profiles:
default: "none"
----
[[features.profiles.adding-active-profiles]]