-
Notifications
You must be signed in to change notification settings - Fork 82
/
config.yml
105 lines (100 loc) · 1.9 KB
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
spring:
profiles:
active: cloud
---
spring:
profiles: cloud
cloud:
config:
discovery:
enabled: true
server:
git:
uri: https://github.com/kbastani/spring-boot-microservice-config
health:
repositories:
movie:
label: master
rating:
label: master
server:
port: 8888
endpoints:
restart:
enabled: true
shutdown:
enabled: true
health:
sensitive: false
eureka:
instance:
hostname: config-99.cfapps.io
nonSecurePort: 80
client:
registerWithEureka: true
fetchRegistry: true
serviceUrl:
defaultZone: http://discovery-kb.cfapps.io/eureka/
---
spring:
profiles: development
cloud:
config:
server:
git:
uri: https://github.com/kbastani/spring-boot-microservice-config
health:
repositories:
movie:
label: master
server:
port: 8888
endpoints:
restart:
enabled: true
shutdown:
enabled: true
health:
sensitive: false
eureka:
instance:
hostname: configserver
client:
registerWithEureka: true
fetchRegistry: true
serviceUrl:
defaultZone: http://discovery:8761/eureka/
---
spring:
profiles: lattice
cloud:
config:
discovery:
enabled: true
server:
git:
uri: https://github.com/kbastani/spring-boot-microservice-config
health:
repositories:
movie:
label: lattice
rating:
label: lattice
server:
port: 8888
endpoints:
restart:
enabled: true
shutdown:
enabled: true
health:
sensitive: false
eureka:
instance:
hostname: ${vcap.application.uris[0]:localhost:8888}
nonSecurePort: 80
client:
registerWithEureka: true
fetchRegistry: true
serviceUrl:
defaultZone: http://discovery.54.149.244.237.xip.io/eureka/