-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcommand-users.yml
More file actions
66 lines (59 loc) · 1.21 KB
/
command-users.yml
File metadata and controls
66 lines (59 loc) · 1.21 KB
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
info:
app:
name: Users service - Command Side
description: Users service - Command Side (CQRS)
server:
port: ${PORT:8880}
logging:
level:
root: INFO
org.springframework: INFO
org.axonframework: DEBUG
com.believe: DEBUG
axon:
amqp:
exchange: users.events.fanout.exchange
eventhandling:
processors:
name:
mode: tracking
source: eventBus
spring:
application:
exchange: users.events.fanout.exchange
queue: users.default.queue
databaseName: users
eventsCollectionName: events
snapshotCollectionName: snapshots
rabbitmq:
host: 127.0.0.1
username: guest
password: guest
data:
mongodb:
uri: mongodb://127.0.0.1:27017/users
eureka:
client:
serviceUrl:
defaultZone: http://localhost:8761/eureka/
---
spring:
profiles: docker
rabbitmq:
host: rabbitmq
username: micro
password: micro
data:
mongodb:
uri: mongodb://mongodb:27017/users
# Fix docker swarm network error.
# cloud:
# inetutils:
# preferredNetworks: micro-starter_default
eureka:
instance:
preferIpAddress: false
hostname: users-command-side
client:
serviceUrl:
defaultZone: http://registry:8761/eureka/