【问题标题】:How use Spring Cloud Server without GitHub如何在没有 GitHub 的情况下使用 Spring Cloud Server
【发布时间】:2015-06-11 14:55:44
【问题描述】:

我注意到我有义务告知 GitHub 地址以使用 Spring Cloud Server,但如果我的项目没有一个。

我可以使用例如 CVS 存储库来获取这些源吗?或者可以只使用 Eureka 服务器提供的简单本地代码?

谢谢。

【问题讨论】:

  • 也许您可以使用file: url 来使用本地 git 存储库。
  • 目前我们所有的服务器都是基于CVS的。有没有办法在没有存储库的情况下执行?

标签: java spring spring-boot


【解决方案1】:

通过使用 spring.profiles.active: native 你可以从本地文件中读取配置。

查看http://cloud.spring.io/spring-cloud-config/spring-cloud-config.html中的“文件系统后端”部分

【讨论】:

    猜你喜欢
    • 2015-02-21
    • 2021-04-25
    • 2016-10-26
    • 2016-01-15
    • 2020-12-23
    • 1970-01-01
    • 1970-01-01
    • 2017-08-27
    • 2015-06-16
    相关资源
    最近更新 更多