Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【基础系列】基于maven多环境配置 | 一灰灰Blog #231

Open
liuyueyi opened this issue Apr 25, 2022 · 1 comment
Open

【基础系列】基于maven多环境配置 | 一灰灰Blog #231

liuyueyi opened this issue Apr 25, 2022 · 1 comment

Comments

@liuyueyi
Copy link
Owner

https://spring.hhui.top/spring-blog/2022/04/25/220425-SpringBoot%E7%B3%BB%E5%88%97%E4%B9%8B%E5%9F%BA%E4%BA%8Emaven%E5%A4%9A%E7%8E%AF%E5%A2%83%E9%85%8D%E7%BD%AE/

SpringBoot系列之基于maven多环境配置 实际开发过程中,配置的多环境区分属于标配了,当我们不考虑配置中心时,将多环境的配置就放在项目的resource目录下,那么可以怎样做多环境的配置管理呢? 之前介绍过一篇基于 spring.profiles.active 配置来选择对应的配置文件的方式,有了解这个配置的小伙伴可以很快找到这种方式的特点 如配置值为dev,则加载 applicat

@liuyueyi
Copy link
Owner Author

liuyueyi commented May 9, 2022

mark

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant