Added clarification to documentation on where to set spring.profiles.active. Fixes #612
This commit is contained in:
@@ -45,6 +45,8 @@ If your application needs any application-specific configuration from the server
|
||||
In order for the property `spring.application.name` to be used as the application's context ID you
|
||||
must set it in `bootstrap.[properties | yml]`.
|
||||
|
||||
If you want to retrieve specific profile configuration, you should also set `spring.profiles.active` in `bootstrap.[properties | yml]`.
|
||||
|
||||
You can disable the bootstrap process completely by setting `spring.cloud.bootstrap.enabled=false` (for example, in system properties).
|
||||
|
||||
=== Application Context Hierarchies
|
||||
|
||||
Reference in New Issue
Block a user