-
Notifications
You must be signed in to change notification settings - Fork 961
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
避免使用 @xxx@ 表达式配置项目 #914
Comments
|
测试环境已通过,正式环境需要重新打包,如何保证正式环境的打包产物与测试环境相同?
|
给 nacos 指定一个 namespace,从环境变量中去读取,就可以实现一份代码多端部署了吧。配置都放到了 nacos ,都是在 nacos 操作的。 |
理想状态下,所有“打包产物中的配置”,都可以使用环境变量进行修改 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
pig-gateway,则可以配合:
spring.application.name=@Artifactid@`[email protected]@
、[email protected]@
等等The text was updated successfully, but these errors were encountered: