Multiple repositories

Sometimes, you may need to configure multiple repositories for a single Config Server. I can imagine the situation that you would have to separate the business configuration from a typical technical configuration. This is absolutely possible:

spring: cloud:   config:     server:       git:         uri: https://github.com/piomin/spring-cloud-config-repo/config-repo         repos:           simple: https://github.com/simple/config-repo           special:             pattern: special*/dev*,*special*/dev*             uri: https://github.com/special/config-repo           local:             pattern: local*             uri: file:/home/config/config-repo 

Get Mastering Spring Cloud now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.