-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
75 lines (67 loc) · 1.67 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
version: "3"
services:
xqa-query-balancer:
build: .
image: xqa-query-balancer
container_name: xqa-query-balancer
environment:
- shardResponseTimeout=10000
- shardResponseSecondaryTimeout=5000
ports:
- "9090:9090"
- "9091:9091"
networks:
- xqa
depends_on:
- xqa-db
- xqa-message-broker
xqa-db:
image: jameshnsears/xqa-db:latest
container_name: xqa-db
volumes:
- "xqa-db:/var/lib/postgresql"
ports:
- "5432:5432"
networks:
- xqa
xqa-db-amqp:
image: jameshnsears/xqa-db-amqp:latest
container_name: xqa-db-amqp
command: ["-message_broker_host", "xqa-message-broker", "-storage_host", "xqa-db", "-storage_port", "5432"]
networks:
- xqa
depends_on:
- xqa-db
- xqa-message-broker
xqa-message-broker:
image: jameshnsears/xqa-message-broker:latest
container_name: xqa-message-broker
ports:
- "5672:5672"
- "8161:8161"
volumes:
- "xqa-message-broker:/opt/apache-activemq-5.15.7/data"
networks:
- xqa
xqa-shard:
image: jameshnsears/xqa-shard:latest
command: ["-message_broker_host", "xqa-message-broker", "-storage_mainmem"]
ports:
- 1984
networks:
- xqa
depends_on:
- xqa-message-broker
xqa-ingest-balancer:
image: jameshnsears/xqa-ingest-balancer:latest
container_name: xqa-ingest-balancer
command: ["-message_broker_host", "xqa-message-broker", "-pool_size", "2", "-insert_thread_wait", "5000", "-insert_thread_secondary_wait", "2000"]
networks:
- xqa
depends_on:
- xqa-message-broker
volumes:
xqa-db:
xqa-message-broker:
networks:
xqa: