Skip to content

1194117884/cloud-config

Repository files navigation

cloud-config

configurations for boots

获取git上的资源信息遵循如下规则:

/{application}/{profile}[/{label}]

/{application}-{profile}.yml

/{label}/{application}-{profile}.yml

/{application}-{profile}.properties

/{label}/{application}-{profile}.properties

application:表示应用名称,在client中通过spring.config.name配置

profile:表示获取指定环境下配置,例如开发环境、测试环境、生产环境 默认值default,实际开发中可以是 dev、test、demo、production等

label: git标签,默认值master

如果application名称为foo,则可以采用如下方式访问:

http://localhost:8888/foo/default http://localhost:8888/foo/development

About

configurations for boots

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published