-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
91 lines (85 loc) · 2.48 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
version: '3'
services:
# app:
# # build: .
# image: ignite-repl
# ports:
# - "3333:3333"
zookeeper:
image: zookeeper
ports:
- "2181:2181"
server_1:
# image: rynffoll/gridgain-community:8.8.20
# image: gridgain/community:8.8.7-openjdk11
image: apacheignite/ignite:2.16.0-jdk11-arm64
ports:
- "9011:9011"
- "47101:47101"
- "47501:47501"
- "10801:10800"
- "11211:11211"
- "5005:5005"
volumes:
- ./ignite:/ignite
- ./config:/config
environment:
- "CONSISTENT_ID=server_1"
- "DC=dc1"
- "PORT=47101"
- "IGNITE_QUIET=false"
- "IGNITE_WORK_DIR=/ignite"
- "CONFIG_URI=/config/server.xml"
- "OPTION_LIBS=ignite-zookeeper"
- >-
JVM_OPTS=-Xms512m -Xmx512m
-XX:+AggressiveOpts
-XX:+UseG1GC
-XX:MaxDirectMemorySize=256m
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=9011
-Dcom.sun.management.jmxremote.rmi.port=9011
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.local.only=false
-Djava.rmi.server.hostname=127.0.0.1
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005
depends_on:
- zookeeper
server_2:
# image: rynffoll/gridgain-community:8.8.20
# image: gridgain/community:8.8.7-openjdk11
image: apacheignite/ignite:2.16.0-jdk11-arm64
ports:
- "9012:9012"
- "47102:47102"
- "47502:47502"
- "10802:10800"
- "11212:11211"
- "5006:5006"
volumes:
- ./ignite:/ignite
- ./config:/config
environment:
- "CONSISTENT_ID=server_2"
- "DC=dc2"
- "PORT=47102"
- "IGNITE_QUIET=false"
- "IGNITE_WORK_DIR=/ignite"
- "CONFIG_URI=/config/server.xml"
- "OPTION_LIBS=ignite-zookeeper"
- >-
JVM_OPTS=-Xms512m -Xmx512m
-XX:+AggressiveOpts
-XX:+UseG1GC
-XX:MaxDirectMemorySize=256m
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=9012
-Dcom.sun.management.jmxremote.rmi.port=9012
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.local.only=false
-Djava.rmi.server.hostname=127.0.0.1
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5006
depends_on:
- zookeeper