spring cloud : spring cloud config - profile, remote git repo, native file

This commit is contained in:
haerong22
2021-09-29 22:47:52 +09:00
parent 858fdcbb1b
commit a1a290fbd0
4 changed files with 19 additions and 6 deletions

View File

@@ -4,10 +4,17 @@ server:
spring:
application:
name: config-server
# profile:
# active: native
cloud:
config:
server:
# native:
# search-locations: file:///${user.homr}/Desktop/study/native
# search-locations: file://${user.home}/Desktop/kim/study/native
git:
# uri: file://C:/Users/Woojin/Desktop/study/config
uri: file:///Users/bobby/Desktop/kim/study/config
uri: file://C:/Users/Woojin/Desktop/study/config
# uri: file:///Users/bobby/Desktop/kim/study/config
# uri: [github_uri]
# username: [your username]
# password: [your password]