forked from kbastani/spring-boot-microservice-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
discovery.yml
50 lines (47 loc) · 767 Bytes
/
discovery.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
spring:
profiles:
active: cloud
---
spring:
profiles: cloud
cloud:
config:
discovery:
enabled: true
server:
port: 8761
endpoints:
restart:
enabled: true
shutdown:
enabled: true
health:
sensitive: false
eureka:
instance:
hostname: discovery
client:
registerWithEureka: false
fetchRegistry: false
serviceUrl:
defaultZone: http://discovery-kb.cfapps.io/eureka/
---
spring:
profiles: development
server:
port: 8761
endpoints:
restart:
enabled: true
shutdown:
enabled: true
health:
sensitive: false
eureka:
instance:
hostname: discovery
client:
registerWithEureka: false
fetchRegistry: false
serviceUrl:
defaultZone: http://discovery:8761/eureka/