forked from cer/event-sourcing-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
55 lines (51 loc) · 1.31 KB
/
docker-compose.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
accountscommandside:
image: java:8
working_dir: /app
volumes:
- ./accounts-command-side-service/build/libs:/app
command: java -jar /app/accounts-command-side-service.jar
ports:
- "8080:8080"
environment:
EVENT_STORE_USER_ID:
EVENT_STORE_PASSWORD:
EVENT_STORE_URL:
EVENT_STORE_STOMP_SERVER_HOST:
EVENT_STORE_STOMP_SERVER_PORT:
transactionscommandside:
image: java:8
working_dir: /app
volumes:
- ./transactions-command-side-service/build/libs:/app
command: java -jar /app/transactions-command-side-service.jar
ports:
- "8082:8080"
environment:
EVENT_STORE_USER_ID:
EVENT_STORE_PASSWORD:
EVENT_STORE_URL:
EVENT_STORE_STOMP_SERVER_HOST:
EVENT_STORE_STOMP_SERVER_PORT:
accountsqueryside:
image: java:8
working_dir: /app
volumes:
- ./accounts-query-side-service/build/libs:/app
command: java -jar /app/accounts-query-side-service.jar --spring.data.mongodb_uri=mongodb://database/CQRS
ports:
- "8081:8080"
links:
- mongodb
environment:
EVENT_STORE_USER_ID:
EVENT_STORE_PASSWORD:
EVENT_STORE_URL:
EVENT_STORE_STOMP_SERVER_HOST:
EVENT_STORE_STOMP_SERVER_PORT:
SPRING_DATA_MONGODB_URI: mongodb://mongodb/mydb
mongodb:
image: mongo:3.0.4
hostname: mongodb
command: mongod --smallfiles
ports:
- "27017:27017"