【发布时间】:2022-01-22 17:52:17
【问题描述】:
在我的应用程序 yml 中,我有两个需要同时运行的配置文件
spring:
profiles:
active:
awss3, @env@
application:
name: CONFIG-SERVICE
无论环境如何,我都需要运行 awss3。这可能吗?
【问题讨论】:
-
你试过spring.profiles.include吗?
标签: spring-boot yaml