Goals
- local develop enviroment should has its own specified config files without general one from Nacos Config Server
- Service in developing in local should not register into Discovery Server as its not fully funtional
Nacos Config Set
- config in application-local.yml
- spring.cloud.nacos.config.enabled = false
spring.cloud.nacos.discovery.register-enable=false
## Use Local Config File spring.cloud.nacos.config.enabled = false ## Not resigter service into Nacos spring.cloud.nacos.discovery.register-enable=false
本文由 admin 创作,采用 知识共享署名4.0 国际许可协议进行许可
本站文章除注明转载/出处外,均为本站原创或翻译,转载前请务必署名
最后编辑时间为: Mar 15, 2021 at 07:57 am