-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
86 lines (77 loc) · 1.91 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
version: '3'
services:
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-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
xqa-message-broker:
image: jameshnsears/xqa-message-broker:latest
container_name: xqa-message-broker
ports:
- "1099:1099"
- "5672:5672"
- "8161:8161"
- "61616:61616"
volumes:
- "xqa-message-broker:/opt/apache-activemq-5.15.7/data"
networks:
- xqa
xqa-query-balancer:
image: jameshnsears/xqa-query-balancer:latest
container_name: xqa-query-balancer
environment:
- shardResponseTimeout=30000
- shardResponseSecondaryTimeout=5000
ports:
- "9090:9090"
- "9091:9091"
networks:
- xqa
depends_on:
- xqa-db
- xqa-message-broker
xqa-query-ui:
image: jameshnsears/xqa-query-ui:latest
container_name: xqa-query-ui
ports:
- "8888:80"
networks:
- xqa
depends_on:
- xqa-query-balancer
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
volumes:
xqa-db:
xqa-message-broker:
networks:
xqa: