如何在没有 GitHub 的情况下使用 Spring 云服务器
How use Spring Cloud Server without GitHub
我注意到我有义务通知 GitHub 地址使用 Spring 云服务器,但如果我的项目没有。
我可以使用例如 CVS 存储库来获取这些源代码吗?或者可以只使用 Eureka 服务器提供的简单本地代码?
谢谢。
通过使用 spring.profiles.active: native 你可以从本地文件中读取配置。
查看 http://cloud.spring.io/spring-cloud-config/spring-cloud-config.html
中的 "File System Backend" 部分
我注意到我有义务通知 GitHub 地址使用 Spring 云服务器,但如果我的项目没有。
我可以使用例如 CVS 存储库来获取这些源代码吗?或者可以只使用 Eureka 服务器提供的简单本地代码?
谢谢。
通过使用 spring.profiles.active: native 你可以从本地文件中读取配置。
查看 http://cloud.spring.io/spring-cloud-config/spring-cloud-config.html
中的 "File System Backend" 部分