forked from intersystems-community/irisdemo-demo-htap
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-irisxep.yml
More file actions
84 lines (79 loc) · 2.78 KB
/
docker-compose-irisxep.yml
File metadata and controls
84 lines (79 loc) · 2.78 KB
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
# Starts the SpeedTest using IRIS Community.
#
# This is good because it doesn't require an IRIS license to run.
#
# This is bad because IRIS Community has two important limitations:
# - Max of 5 connections: So we won't be able to use a high number of threads
# - Max Database size of 10Gb: So we won't be able to let the speed test run for too long
#
# But this configuration is good for development.
version: '3.7'
services:
htapui:
depends_on:
- htapmaster
container_name: htapui
hostname: htapui
image: intersystemsdc/irisdemo-demo-htap:ui-version-2.5.0
ports:
- "10000:4200" # Where Node Will be listening
htapirisdb:
# We can't use clean IRIS Community because its HEALTHCHECK period is too long.
# So we are going to use our irisdemo-base-db image.
#image: store/intersystems/iris-community:2019.3.0.309.0
# version-1.2 is based on IRIS Community 2019.3
# version-1.4 is based on IRIS Community 2019.4
image: intersystemsdc/irisdemo-base-irisdb-community:version-1.4
hostname: htapirisdb
init: true
container_name: htapirisdb
ports:
- "10001:52773" # 52773 is the webserver/management portal port: http://localhost:9092/csp/sys/UtilHome.csp
htapmaster:
depends_on:
- htapirisdb
container_name: htapmaster
hostname: htapmaster
init: true
image: intersystemsdc/irisdemo-demo-htap:master-version-2.5.0
ports:
- "10002:8080" # Where Springboot Will be listening
environment:
- MASTER_SPEEDTEST_TITLE=SpeedTest | IRIS 2019.4 (XEP)
- START_CONSUMERS=true
- DISABLE_JOURNAL_FOR_DROP_TABLE=true
- DISABLE_JOURNAL_FOR_TRUNCATE_TABLE=true
- INGESTION_THREADS_PER_WORKER=2
- INGESTION_BATCH_SIZE=1000
- INGESTION_JDBC_URL=jdbc:IRIS://htapirisdb:51773/USER
- INGESTION_JDBC_USERNAME=SuperUser
- INGESTION_JDBC_PASSWORD=sys
- CONSUMER_JDBC_URL=jdbc:IRIS://htapirisdb:51773/USER
- CONSUMER_JDBC_USERNAME=SuperUser
- CONSUMER_JDBC_PASSWORD=sys
- CONSUMER_THREADS_PER_WORKER=1
- CONSUMER_TIME_BETWEEN_QUERIES_IN_MILLIS=0
ingest-worker1:
depends_on:
- htapmaster
container_name: ingest-worker1
hostname: ingest-worker1
init: true
image: intersystemsdc/irisdemo-demo-htap:iris-xep-ingest-worker-version-2.5.0
ports:
- "10003:8080" # Where Springboot Will be listening
environment:
- MASTER_HOSTNAME=htapmaster
- MASTER_PORT=8080
query-worker1:
depends_on:
- htapmaster
container_name: query-worker1
hostname: query-worker1
init: true
image: intersystemsdc/irisdemo-demo-htap:iris-jdbc-query-worker-version-2.5.0
ports:
- "10004:8080" # Where Springboot Will be listening
environment:
- MASTER_HOSTNAME=htapmaster
- MASTER_PORT=8080