Update 24.1. Adding active profiles.md
parent
a9064253b1
commit
3862a4f4a1
|
@ -12,4 +12,4 @@ my.property: fromyamlfile
|
||||||
spring.profiles: prod
|
spring.profiles: prod
|
||||||
spring.profiles.include: proddb,prodmq
|
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)
|
||||||
|
|
Loading…
Reference in New Issue