-
Notifications
You must be signed in to change notification settings - Fork 14
/
docker-compose.yml
133 lines (122 loc) · 2.55 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
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
frontend-01:
extends:
file: docker-common.yml
service: frontend-node
environment:
AKKA_ADDRESS: 127.0.0.1
AKKA_PORT: 2551
AKKA_BIND_ADDRESS: 0.0.0.0
AKKA_BIND_PORT: 2551
REST_PORT: 8080
ports:
- "2551:2551"
- "8080:8080"
expose:
- "8080"
container_name: frontend-01
volumes:
- /opt/docker/logs/frontend-01
frontend-02:
extends:
file: docker-common.yml
service: frontend-node
environment:
AKKA_ADDRESS: 127.0.0.1
AKKA_PORT: 2552
AKKA_BIND_ADDRESS: 0.0.0.0
AKKA_BIND_PORT: 2552
REST_PORT: 8081
ports:
- "2552:2552"
- "8080:8081"
expose:
- "8081"
container_name: frontend-02
volumes:
- /opt/docker/logs/frontend-02
shared-journal:
extends:
file: docker-common.yml
service: shared-journal-node
environment:
AKKA_ADDRESS: 127.0.0.1
AKKA_PORT: 2553
AKKA_BIND_ADDRESS: 0.0.0.0
AKKA_BIND_PORT: 2553
ports:
- "2553:2553"
container_name: shared_journal
volumes:
- /opt/docker/logs/shared-journal
trader-db-01:
extends:
file: docker-common.yml
service: trader-db-node
environment:
AKKA_ADDRESS: 127.0.0.1
AKKA_PORT: 2554
AKKA_BIND_ADDRESS: 0.0.0.0
AKKA_BIND_PORT: 2554
ports:
- "2554:2554"
container_name: trader_db_01
volumes:
- /opt/docker/logs/trader-db-01
trade-engine-01:
extends:
file: docker-common.yml
service: trade-engine-node
environment:
AKKA_ADDRESS: 127.0.0.1
AKKA_PORT: 2555
AKKA_BIND_ADDRESS: 0.0.0.0
AKKA_BIND_PORT: 2555
ports:
- "2555:2555"
container_name: trade_engine_01
volumes:
- /opt/docker/logs/trade-engine-01
trade-engine-02:
extends:
file: docker-common.yml
service: trade-engine-node
environment:
AKKA_ADDRESS: 127.0.0.1
AKKA_PORT: 2556
AKKA_BIND_ADDRESS: 0.0.0.0
AKKA_BIND_PORT: 2556
ports:
- "2556:2556"
container_name: trade_engine_02
volumes:
- /opt/docker/logs/trade-engine-02
ticker-01:
extends:
file: docker-common.yml
service: ticker-node
environment:
AKKA_ADDRESS: 127.0.0.1
AKKA_PORT: 2557
AKKA_BIND_ADDRESS: 0.0.0.0
AKKA_BIND_PORT: 2557
ports:
- "2557:2557"
container_name: ticker-01
volumes:
- /opt/docker/logs/ticker-01
cluster-console:
environment:
AKKA_ADDRESS: 127.0.0.1
AKKA_PORT: 3001
AKKA_BIND_ADDRESS: 0.0.0.0
AKKA_BIND_PORT: 3001
ports:
- "9000:9000"
- "3001:3001"
expose:
- "9000"
net: "host"
image: boldradius/astrolabe
container_name: cluster-console
volumes:
- /opt/docker/logs/cluster-console