-
Notifications
You must be signed in to change notification settings - Fork 9
/
docker-compose.yml
84 lines (72 loc) · 1.99 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
version: "2"
services:
zookeeper-1:
container_name: zookeeper-1
networks: ["vnet"]
hostname: zookeeper-1.vnet
image: smizy/zookeeper:3.4-alpine
environment:
- SERVICE_2181_NAME=zookeeper
command: -server 1 1 vnet
namenode-1:
container_name: namenode-1
networks: ["vnet"]
hostname: namenode-1.vnet
image: smizy/hadoop-base:2.7.6-alpine
expose: ["8020"]
ports: ["50070"]
environment:
- HADOOP_ZOOKEEPER_QUORUM=zookeeper-1.vnet:2181
- HADOOP_HEAPSIZE=1000
- HADOOP_NAMENODE_HA=
entrypoint: entrypoint.sh
command: namenode-1
datanode-1:
container_name: datanode-1
networks: ["vnet"]
hostname: datanode-1.vnet
image: smizy/hadoop-base:2.7.6-alpine
expose: ["50010", "50020", "50075"]
environment:
- HADOOP_ZOOKEEPER_QUORUM=zookeeper-1.vnet:2181
- HADOOP_HEAPSIZE=1000
- HADOOP_NAMENODE_HA=
entrypoint: entrypoint.sh
command: datanode
hmaster-1:
container_name: hmaster-1
networks: ["vnet"]
hostname: hmaster-1.vnet
image: smizy/apache-phoenix:4.14.0-alpine
expose: [16000]
ports: [16010]
depends_on: ["zookeeper-1"]
environment:
- HBASE_ZOOKEEPER_QUORUM=zookeeper-1.vnet:2181
volumes_from:
- namenode-1
command: hmaster-1
regionserver-1:
container_name: regionserver-1
networks: ["vnet"]
hostname: regionserver-1.vnet
image: smizy/apache-phoenix:4.14.0-alpine
expose: [16020, 16030]
depends_on: ["zookeeper-1"]
environment:
- HBASE_ZOOKEEPER_QUORUM=zookeeper-1.vnet:2181
command: regionserver
queryserver-1:
container_name: queryserver-1
networks: ["vnet"]
hostname: queryserver-1.vnet
image: smizy/apache-phoenix:4.14.0-alpine
expose: [8765]
depends_on: ["zookeeper-1"]
environment:
- HBASE_ZOOKEEPER_QUORUM=zookeeper-1.vnet:2181
command: bin/queryserver.py
networks:
vnet:
external:
name: vnet