This repository has been archived by the owner on Apr 9, 2022. It is now read-only.
forked from AITestingOrg/banking-microservices-tutorial
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-elk.yml
85 lines (79 loc) · 1.61 KB
/
docker-compose-elk.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
version: '2.1'
services:
customers:
build: customers/
depends_on:
- mongo
- rabbitmq
mem_limit: 700m
ports:
- "8081:8080"
environment:
- MONGO_HOST=mongo
- ES_JAVA_OPTS= "-Xms150mb -Xmx150mb"
logging:
driver: syslog
options:
syslog-address: "tcp://:5000"
tag: "customer-query-server"
accountcmd:
build: account.cmd-spring/
depends_on:
- mongo
- rabbitmq
mem_limit: 700m
ports:
- "8089:8080"
environment:
- RABBIT_HOST=rabbitmq
- MONGO_HOST=mongo
logging:
driver: syslog
options:
syslog-address: "tcp://:5000"
tag: "account-cmd-server"
accountquery:
build: account.query-spring/
depends_on:
- mongo
- rabbitmq
mem_limit: 700m
ports:
- "8084:8080"
environment:
- RABBIT_HOST=rabbitmq
- MONGO_HOST=mongo
- ES_JAVA_OPTS= "-Xms150mb -Xmx150mb"
logging:
driver: syslog
options:
syslog-address: "tcp://:5000"
tag: "acount-query-server"
transactionserver:
build: transactions-spring/
depends_on:
- mongo
mem_limit: 700m
ports:
- "8085:8080"
environment:
- MONGO_HOST=mongo
- ES_JAVA_OPTS= "-Xms150mb -Xmx150mb"
logging:
driver: syslog
options:
syslog-address: "tcp://:5000"
tag: "transaction-server"
mongo:
image: 'mongo:3.4.1'
ports:
- '27017:27017'
volumes:
- 'mongo:/data/db'
rabbitmq:
image: rabbitmq:management
ports:
- "5672:5672"
- "15672:15672"
volumes:
mongo: