Merge branch '2.4.x'
See gh-26654
This commit is contained in:
@@ -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]]
|
||||
|
||||
Reference in New Issue
Block a user