-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
107 lines (94 loc) · 2.11 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
version: '2'
services:
dns:
build: dns
hostname: dns
ports:
- "53:53"
- "53:53/udp"
networks:
- local
zookeeper:
build: zookeeper
hostname: zookeeper
networks:
- local
hdfsnamenode:
build: hdfs-namenode
hostname: hdfsnamenode
volumes:
- "./conf/cluster-conf:/etc/hadoop/cluster-conf:ro"
networks:
- local
yarnresourcemanager:
build: yarn-resource-manager
volumes:
- "./conf/cluster-conf:/etc/hadoop/cluster-conf:ro"
hostname: yarnresourcemanager
networks:
- local
mapreducehistory:
build: mapreduce-history
hostname: mapreducehistory
volumes:
- "./conf/cluster-conf:/etc/hadoop/cluster-conf:ro"
networks:
- local
clusternode:
build: cluster-node
domainname: cdh5-local
volumes:
- "./conf/cluster-conf:/etc/hadoop/cluster-conf:ro"
networks:
- local
hiveserver:
build: hive-server
volumes:
- "./conf/cluster-conf:/etc/hadoop/cluster-conf:ro"
hostname: hiveserver
networks:
- local
hivemetastore:
environment:
POSTGRES_VERSION: 9.5
PGPASSWORD: elephants
hostname: hivemetastore
build: hive-metastore
volumes:
- "./conf/cluster-conf:/etc/hadoop/cluster-conf:ro"
- "./hive_migrations:/usr/lib/hive/hive_migrations:rw"
networks:
- local
postgres:
build: postgres
hostname: postgres
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: elephants
POSTGRES_DB: root
ports:
- "5000:5432"
networks:
- local
hue:
build: hue
volumes:
- "./conf/cluster-conf:/etc/hadoop/cluster-conf:ro"
- "./conf/conf.hue:/etc/hue/conf:ro"
networks:
- local
kafka:
build: kafka
hostname: kafka
ports:
- "9092"
volumes:
- "./conf/cluster-conf:/etc/hadoop/cluster-conf:ro"
- "./kafka/conf:/etc/kafka/conf:ro"
- "./conf/conf.hue:/etc/hue/conf:ro"
networks:
- local
networks:
local:
external:
name: cdh5-local