-
Notifications
You must be signed in to change notification settings - Fork 0
/
notification-service.yml
111 lines (92 loc) · 2.01 KB
/
notification-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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
spring:
application:
name: notification-service
kafka:
consumer:
group-id: notification-service
key-deserializer: org.apache.kafka.common.serialization.StringDeserializer
value-deserializer: org.apache.kafka.common.serialization.StringDeserializer
auto-offset-reset: latest
enable-auto-commit: true
bootstrap-servers: localhost:9092
server:
port: 5000
immino: "globulin"
auth-configuration:
ApiGatewayUrl: "localhost:9060"
UaaServerUrl: "uaa-server"
TokenValidationUrl: "api/token-validation?token"
email-configuration:
SmtpServer: "smtp.gmail.com"
SmtpPort: 587
SmtpUsername: "omrumbakitemiz@gmail.com"
SmtpPassword: "vrojctjrbzfgbjrf"
eureka:
"client":
"serviceUrl": "http://localhost:8090/eureka/"
"shouldFetchRegistry": false
"shouldRegisterWithEureka": true
"validateCertificates": false
"instance":
"port": "5000"
"ipAddress": "localhost"
"preferIpAddress": true
kafka:
topic:
log: system-log
management:
endpoint:
health:
enabled: true
show-details: always
---
spring:
profiles: dev
data:
mongodb:
uri: mongodb://localhost:27017
database: e-commerce-notification-service
kafka:
bootstrap-servers: localhost:9092
eureka:
instance:
prefer-ip-address: true
---
spring:
profiles: docker
data:
mongodb:
uri: mongodb://mongodb:27017
database: e-commerce-notification-service
kafka:
bootstrap-servers: kafka:9092
eureka:
server:
host: eureka-server
port: 8090
instance:
prefer-ip-address: true
---
spring:
profiles: prod
data:
mongodb:
uri: mongodb://mongodb:27017
database: e-commerce-notification-service
kafka:
bootstrap-servers: kafka:9092
eureka:
instance:
prefer-ip-address: true
---
spring:
profiles: test
data:
mongodb:
uri: mongodb://localhost:27017
database: e-commerce-notification-service
kafka:
bootstrap-servers: localhost:9092
eureka:
instance:
prefer-ip-address: true