forked from autumnwind10/event-config-properties-cf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
catalog-service.yml
60 lines (60 loc) · 1.3 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
58
59
60
spring:
profiles:
active: development
---
spring:
profiles: cloud
redis:
host: ${vcap.services.catalog-redis.credentials.hostname:localhost}
port: ${vcap.services.catalog-redis.credentials.port:6379}
---
spring:
profiles: development
redis:
host: 192.168.99.100
port: 6379
datasource:
url: jdbc:mysql://localhost:3306/pcf_ref_app?useSSL=false
username: root
password: Jacopo!65
#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://localhost:8761}/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