-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.mapr520.5node.yml
109 lines (109 loc) · 2.99 KB
/
docker-compose.mapr520.5node.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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
version: '2'
services:
node0:
container_name: "${hname}0"
image: "jameshtsun/mapr520v2:centos72"
hostname: ${hname}0
ports:
- "8443:8443"
- "2222:22"
- "8888:8888"
- "8047:8047"
- "3000:3000"
- "10000:10000"
privileged: true
devices:
- "/dev/xvdb:/dev/xvdb"
environment:
- "CL_NAME=${clname}"
- "NNODES=${nnodes}"
- "HOST_NAME=${hname}0"
- "HOST_BLOCK_DEVICE=/dev/xvdb"
- "ADMIN_USER=${admin}"
- "ADMIN_PASSWD=${passwd}"
- "REALM=${realm}"
- "KDC_HOST_NAME=${kdchost}"
- "LDAP_USER=${ldapuser}"
stdin_open: true
tty: true
node1:
container_name: "${hname}1"
image: "jameshtsun/mapr520v2:centos72"
hostname: ${hname}1
ports:
- "5601:5601"
- "8089:8088"
- "8091:8090"
privileged: true
devices:
- "/dev/xvdc:/dev/xvdc"
environment:
- "CL_NAME=${clname}"
- "NNODES=${nnodes}"
- "HOST_NAME=${hname}1"
- "HOST_BLOCK_DEVICE=/dev/xvdc"
- "ADMIN_USER=${admin}"
- "ADMIN_PASSWD=${passwd}"
- "REALM=${realm}"
- "KDC_HOST_NAME=${kdchost}"
stdin_open: true
tty: true
node2:
container_name: "${hname}2"
image: "jameshtsun/mapr520v2:centos72"
hostname: ${hname}2
ports:
- "8088:8088"
- "19888:19888"
- "19890:19890"
- "8090:8090"
privileged: true
devices:
- "/dev/xvdd:/dev/xvdd"
environment:
- "CL_NAME=${clname}"
- "NNODES=${nnodes}"
- "HOST_NAME=${hname}2"
- "HOST_BLOCK_DEVICE=/dev/xvdd"
- "ADMIN_USER=${admin}"
- "ADMIN_PASSWD=${passwd}"
- "REALM=${realm}"
- "KDC_HOST_NAME=${kdchost}"
stdin_open: true
tty: true
node3:
container_name: "${hname}3"
image: "jameshtsun/mapr520v2:centos72"
hostname: ${hname}3
privileged: true
devices:
- "/dev/xvde:/dev/xvde"
environment:
- "CL_NAME=${clname}"
- "NNODES=${nnodes}"
- "HOST_NAME=${hname}3"
- "HOST_BLOCK_DEVICE=/dev/xvde"
- "ADMIN_USER=${admin}"
- "ADMIN_PASSWD=${passwd}"
- "REALM=${realm}"
- "KDC_HOST_NAME=${kdchost}"
stdin_open: true
tty: true
node4:
container_name: "${hname}4"
image: "jameshtsun/mapr520v2:centos72"
hostname: ${hname}4
privileged: true
devices:
- "/dev/xvdf:/dev/xvdf"
environment:
- "CL_NAME=${clname}"
- "NNODES=${nnodes}"
- "HOST_NAME=${hname}4"
- "HOST_BLOCK_DEVICE=/dev/xvdf"
- "ADMIN_USER=${admin}"
- "ADMIN_PASSWD=${passwd}"
- "REALM=${realm}"
- "KDC_HOST_NAME=${kdchost}"
stdin_open: true
tty: true