Update 24.1. Adding active profiles.md

master
qibaoguang 2015-05-18 17:01:45 +08:00
parent a9064253b1
commit 3862a4f4a1
1 changed files with 1 additions and 1 deletions

View File

@ -12,4 +12,4 @@ my.property: fromyamlfile
spring.profiles: prod
spring.profiles.include: proddb,prodmq
```
**注**spring.profiles属性可以定义到一个YAML文档中用于决定什么时候该文档被包含进配置中。具体参考[Section 63.6, “Change configuration depending on the environment”](http://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#howto-change-configuration-depending-on-the-environment)
**注**spring.profiles属性可以定义到一个YAML文档中用于决定什么时候该文档被包含进配置中。具体参考[Section 63.6, “Change configuration depending on the environment”](../IX. How-to guides/63.6. Change configuration depending on the environment.md)