forked from kbastani/spring-cloud-event-sourcing-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
catalog-service.yml
53 lines (53 loc) · 991 Bytes
/
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
spring:
profiles:
active: docker
---
spring:
profiles: development
redis:
host: 192.168.99.100
port: 6379
datasource:
url: jdbc:mysql://192.168.99.100:3306/dev?useSSL=false
username: root
password: dbpass
initialize: false
eureka:
instance:
prefer-ip-address: true
client:
registerWithEureka: true
fetchRegistry: true
serviceUrl:
defaultZone: http://192.168.99.100: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
metadata-map:
cluster: MAIN
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