forked from skbkontur/cassandra-distributed-task-queue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
80 lines (80 loc) · 1.82 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
version: "3"
services:
cassandra:
container_name: rtq-cassandra
image: fakefeik/edi-cassandra:3.11
ports:
- "9042:9042"
- "9160:9160"
healthcheck:
test: [ "CMD", "C:/cassandra/nodetool", "status"]
interval: 5s
timeout: 5s
retries: 60
elasticsearch:
container_name: rtq-elasticsearch
image: fakefeik/edi-elasticsearch:6.2
ports:
- "9205:9205"
- "9305:9305"
healthcheck:
test: [ "CMD", "curl", "localhost:9205" ]
interval: 5s
timeout: 5s
retries: 60
exchange_service1:
image: test-exchange-service
build:
context: .
dockerfile: Cassandra.DistributedTaskQueue.TestExchangeService/Dockerfile
environment:
- CASSANDRA_ADDRESS=cassandra
ports:
- "4403:80"
depends_on:
- cassandra
exchange_service2:
image: test-exchange-service
ports:
- "4404:80"
environment:
- CASSANDRA_ADDRESS=cassandra
depends_on:
- cassandra
exchange_service3:
image: test-exchange-service
ports:
- "4405:80"
environment:
- CASSANDRA_ADDRESS=cassandra
depends_on:
- cassandra
exchange_service4:
image: test-exchange-service
ports:
- "4406:80"
environment:
- CASSANDRA_ADDRESS=cassandra
depends_on:
- cassandra
exchange_service5:
image: test-exchange-service
ports:
- "4407:80"
environment:
- CASSANDRA_ADDRESS=cassandra
depends_on:
- cassandra
monitoring-service:
image: test-monitoring-service
build:
context: .
dockerfile: Cassandra.DistributedTaskQueue.Monitoring.TestService/Dockerfile
environment:
- ES_URL=http://elasticsearch:9205
- CASSANDRA_ADDRESS=cassandra
ports:
- "4413:80"
depends_on:
- cassandra
- elasticsearch