-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathdocker-compose.yaml
138 lines (127 loc) · 3.07 KB
/
docker-compose.yaml
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
version: '3.7'
services:
mongo:
image: mongo:4.0
hostname: mongo
restart: always
environment:
MONGO_INITDB_DATABASE: akkaTrader
mongo-express:
image: mongo-express
restart: always
ports:
- '8031:8081'
depends_on:
- "mongo"
graphite:
image: graphiteapp/graphite-statsd
hostname: graphite
container_name: graphite
restart: always
ports:
- "0:80"
grafana:
image: grafana/grafana
restart: always
ports:
- '3000:3000'
links:
- graphite
environment:
- GF_SECURITY_ADMIN_PASSWORD=password
jaeger:
image: jaegertracing/all-in-one:1.6
hostname: jaeger
restart: always
ports:
- '16686:16686'
lighthouse:
image: petabridge/lighthouse:latest
hostname: lighthouse
ports:
- '9110:9110'
- '4053:4053'
environment:
ACTORSYSTEM: "AkkaTrader"
CLUSTER_PORT: 4053
CLUSTER_IP: "lighthouse"
CLUSTER_SEEDS: "akka.tcp://AkkaTrader@lighthouse:4053"
STATSD_PORT: 8125
STATSD_URL: "graphite"
JAEGER_AGENT_HOST: "jaeger"
tradeprocessor:
image: akka.cqrs.tradeprocessor
ports:
- '0:9110'
environment:
CLUSTER_SEEDS: "akka.tcp://AkkaTrader@lighthouse:4053"
CLUSTER_PORT: 5110
MONGO_CONNECTION_STR: "mongodb://mongo:27017/akkaTrader"
STATSD_PORT: 8125
STATSD_URL: "graphite"
JAEGER_AGENT_HOST: "jaeger"
restart: on-failure
depends_on:
- "mongo"
- "lighthouse"
traders:
image: akka.cqrs.traders
ports:
- '0:9110'
environment:
CLUSTER_SEEDS: "akka.tcp://AkkaTrader@lighthouse:4053"
CLUSTER_PORT: 5110
STATSD_PORT: 8125
STATSD_URL: "graphite"
JAEGER_AGENT_HOST: "jaeger"
restart: on-failure
depends_on:
- "lighthouse"
pricing-root:
image: akka.cqrs.pricing
hostname: pricing-root
ports:
- '0:9110'
environment:
CLUSTER_SEEDS: "akka.tcp://AkkaTrader@lighthouse:4053"
CLUSTER_PORT: 6055
CLUSTER_IP: "pricing-root"
MONGO_CONNECTION_STR: "mongodb://mongo:27017/akkaTrader"
STATSD_PORT: 8125
STATSD_URL: "graphite"
JAEGER_AGENT_HOST: "jaeger"
ENABLE_PHOBOS: "true"
restart: on-failure
depends_on:
- "mongo"
- "lighthouse"
pricing-engine:
image: akka.cqrs.pricing
ports:
- '0:9110'
environment:
CLUSTER_SEEDS: "akka.tcp://AkkaTrader@lighthouse:4053"
CLUSTER_PORT: 6055
MONGO_CONNECTION_STR: "mongodb://mongo:27017/akkaTrader"
STATSD_PORT: 8125
STATSD_URL: "graphite"
JAEGER_AGENT_HOST: "jaeger"
ENABLE_PHOBOS: "true"
restart: on-failure
depends_on:
- "mongo"
- "lighthouse"
pricing-web:
image: akka.cqrs.pricing.web
ports:
- '8999:80'
environment:
CLUSTER_SEEDS: "akka.tcp://AkkaTrader@pricing-root:6055"
CLUSTER_PORT: 16666
STATSD_PORT: 8125
STATSD_URL: "graphite"
JAEGER_AGENT_HOST: "jaeger"
ENABLE_PHOBOS: "true"
restart: on-failure
depends_on:
- "pricing-engine"