-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathservice2.properties
More file actions
32 lines (25 loc) · 975 Bytes
/
service2.properties
File metadata and controls
32 lines (25 loc) · 975 Bytes
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
spring.application.name=service2
server.port=8082
# MongoDB Configuration
spring.data.mongodb.username=root
spring.data.mongodb.password=rootpassword
spring.data.mongodb.database=service2
spring.data.mongodb.host=localhost
spring.data.mongodb.uri=mongodb://root:rootpassword@localhost:27017/service2?authSource=admin
# Eureka Client Configuration
eureka.client.service-url.defaultZone=http://localhost:8761/eureka/
eureka.client.fetchRegistry=true
eureka.client.registerWithEureka=true
spring.cloud.inetutils.preferred-networks=localhost
rabbitmq.queue.name =notificationQueue2
rabbitmq.exchange.name=notification_exchange
rabbitmq.routing.key=notification_routing_key2
spring.rabbitmq.host=localhost
spring.rabbitmq.port=5672
spring.rabbitmq.username=user
spring.rabbitmq.password=password
spring.rabbitmq.virtual-host=/
# URI to the Config Server
spring.cloud.config.uri=http://localhost:8888
# Fail fast if config is not available
spring.cloud.config.fail-fast=true