forked from spring-cloud-samples/config-repo
-
Notifications
You must be signed in to change notification settings - Fork 2
/
application.yml
56 lines (53 loc) · 2.06 KB
/
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
45
46
47
48
49
50
51
52
53
54
55
info:
description: Spring Cloud Samples
url: https://github.com/spring-cloud-samples
eureka:
password: "{cipher}AQBdTe9vjgOqANyfi+Ke5HYmhFJnuvsGJ+8FOqLgdMdFInJkVRzy9XngylNp9KlX2lwPI13jT7ceDjBs9w4B6A15akQTHHP1q9rWwMcLtVCCKGFgvXSgQF+WWIItxBmIDGG4bSgDYZ6XQWl66T84PxjTBygErpmAjn+X2BWdtWtVmjXzpMQMaHGpiyLPoGIQYF4j9ZGpl16Jx79+j6et6LStksrT3WxQuanhZwIkqZ827+2mlUB3kd5ocW7R0vC3JMGVZlGNfqYQwJIhSJ19lrq4gxm/zbGroYonW3QSHTiRlhlvOdovEua/0dCl6+s0iEHYZCBllr7jikEWmS5Px7U2TG8/eQkjR8pUbSN6OE+OI2ZZUCNOT+mi75ZeeN1OtdQ="
client:
serviceUrl:
defaultZone: http://user:${eureka.password:}@localhost:8761/eureka/
spring.cloud.stream.bindings:
springCloudBusInput: topic:springCloudBus
springCloudBusOutput: topic:springCloudBus
---
spring:
profiles: cloud
cloud:
config:
uri: ${vcap.services.${PREFIX:}configserver.credentials.uri:http://user:password@${PREFIX:}configserver.${application.domain:cfapps.io}}
oauth2:
client:
tokenUri: ${vcap.services.${PREFIX:}sso.credentials.tokenUri:}
authorizationUri: ${vcap.services.${PREFIX:}sso.credentials.authorizationUri:}
clientId: ${vcap.services.${PREFIX:}sso.credentials.clientId:}
clientSecret: ${vcap.services.${PREFIX:}sso.credentials.clientSecret:}
resource:
tokenInfoUri: ${vcap.services.${OAUTH2_RESOURCE_SERVICEID:${oauth2.resource.serviceId:sso}}.credentials.tokenInfoUri:}
serviceId: ${PREFIX:}resource
application:
domain: ${APPLICATION_DOMAIN:cfapps.io}
endpoints:
restart: enabled
eureka:
password: password
instance:
hostname: ${vcap.application.uris[0]:localhost}
nonSecurePort: 80
client:
serviceUrl:
defaultZone: ${vcap.services.${PREFIX:}eureka.credentials.uri:http://user:${eureka.password:}@${PREFIX:}eureka.${application.domain:cfapps.io}}/eureka/
---
spring:
profiles: docker
cloud:
config:
uri: http://${CONFIGSERVER_1_PORT_8888_TCP_ADDR:localhost}:8888
endpoints:
restart: enabled
eureka:
instance:
nonSecurePort: 80
preferIpAddress: true
client:
serviceUrl:
defaultZone: http://${EUREKA_1_PORT_8761_TCP_ADDR:localhost}:8761/eureka/