forked from mrauhu/apache-hbase-phoenix
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
69 lines (64 loc) · 1.57 KB
/
docker-compose.yml
File metadata and controls
69 lines (64 loc) · 1.57 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
version: "3.7"
services:
hosts-updater:
image: grachev/docker-hosts-updater
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /etc/hosts:/opt/hosts
namenode:
image: woe1997/hadoop-2.7.7-namenode:1.0
ports:
- 127.0.0.1:50070:50070
volumes:
- hadoop_namenode_test:/hadoop/dfs/name
environment:
- CLUSTER_NAME=test
env_file:
- ./hadoop.env
datanode:
image: woe1997/hadoop-2.7.7-datanode:1.0
ports:
- 127.0.0.1:9864:9864
volumes:
- hadoop_datanode_test:/hadoop/dfs/data
environment:
SERVICE_PRECONDITION: "namenode:50070"
env_file:
- ./hadoop.env
depends_on:
- namenode
hbase:
image: woe1997/phoenix-5.0.0-hbase-2.0.6-standlone:1.0
hostname: hbase
labels:
# Automatically smart adding to `/etc/hosts`:
# 127.0.0.1 hbase
ru.grachevko.dhu: "hbase:0:127.0.0.1"
ports:
# Hbase
- 127.0.0.1:16000:16000
- 127.0.0.1:16010:16010
- 127.0.0.1:16020:16020
- 127.0.0.1:16030:16030
# Zookeeper
- 127.0.0.1:2181:2181
- 127.0.0.1:2888:2888
- 127.0.0.1:3888:3888
# Phoenix
- 127.0.0.1:8765:8765
volumes:
- hbase_data_test:/hbase-data
- hbase_zookeeper_data_test:/zookeeper-data
environment:
SERVICE_PRECONDITION: "namenode:50070 datanode:50075"
env_file:
- ./hbase-standalone.env
depends_on:
- hosts-updater
- namenode
- datanode
volumes:
hadoop_namenode_test:
hadoop_datanode_test:
hbase_data_test:
hbase_zookeeper_data_test: