-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathapplication.yml
44 lines (37 loc) · 934 Bytes
/
application.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
---
info:
application: RentMe connected trucks Demo
show: Spring One 2GX 2015
logging:
level:
com.netflix.discovery: 'OFF'
endpoints:
restart: enabled
eureka:
instance:
leaseRenewalIntervalInSeconds: 10
client:
region: default
registryFetchIntervalSeconds: 5
ribbon:
ServerListRefreshInterval: 5000
hystrix.command.default.execution.isolation.strategy: SEMAPHORE
---
spring:
profiles: cloud
eureka:
instance:
hostname: ${vcap.application.uris[0]:localhost}
nonSecurePort: 80
metadataMap:
instanceId: ${vcap.application.instance_id:${spring.application.name}:${spring.application.instance_id:${server.port}}}
client:
serviceUrl:
defaultZone: ${vcap.services.${PREFIX:}eureka.credentials.uri:http://${PREFIX:}eureka.${APPLICATION_DOMAIN:cfapps.io}}/eureka/
---
spring:
profiles: dev
eureka:
instance:
nonSecurePortEnabled: false
securePortEnabled: true