SpringBoot 多模块共用配置文件

在springboot中引用其他的yml文件时,需要在application.yml里配置

spring:
    profiles:
        include: email, redis, mysql

SpringBoot 多模块共用配置文件
https://zhuanlan.zhihu.com/p/113836100