-
Notifications
You must be signed in to change notification settings - Fork 3
/
catalog-service.yml
57 lines (57 loc) · 1.32 KB
/
catalog-service.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
spring:
profiles:
active: development
---
spring:
profiles: cloud
redis:
host: ${vcap.services.catalog-redis.credentials.hostname:10.0.4.15}
port: ${vcap.services.catalog-redis.credentials.port:6379}
---
spring:
profiles: development
redis:
host: ${vcap.services.catalog-redis.credentials.hostname:10.0.4.15}
port: ${vcap.services.catalog-redis.credentials.port:6379}
datasource:
url: jdbc:mysql://10.0.9.37:3306/service_instance_db?useSSL=false
username: 270a9d24426a481694529229d1ebfe67
password: 0dnnuqehz2v1dt17
initialize: true
eureka:
instance:
prefer-ip-address: true
client:
registerWithEureka: true
fetchRegistry: true
serviceUrl:
defaultZone: ${vcap.services.discovery-service.credentials.uri:http://discovery-service-chatty-raven.apps.apbg.apcf.io}/eureka/
---
spring:
profiles: docker
redis:
host: redis
port: 6379
datasource:
url: jdbc:mysql://mysql:3306/dev?useSSL=false
username: root
password: dbpass
initialize: true
eureka:
instance:
prefer-ip-address: true
client:
registerWithEureka: true
fetchRegistry: true
serviceUrl:
defaultZone: http://discovery-service:8761/eureka/
---
spring:
profiles: test
redis:
host: localhost
port: 6379
jpa:
database: H2
datasource:
initialize: false