-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
53 lines (51 loc) · 1.13 KB
/
docker-compose.yaml
File metadata and controls
53 lines (51 loc) · 1.13 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
version: "3"
networks:
docker-cdh6-networks:
driver: bridge
ipam:
driver: default
config:
- subnet: 192.166.8.0/24
services:
hadoop:
build:
context: ${HADOOP_WORKERSPACE}
dockerfile: Dockerfile
image: ccinn/docker-cdh6-hadoop:latest
networks:
- docker-cdh6-networks
ports:
- 9870:9870 # namenode web-ui
- 9864:9864 # datanode web-ui
privileged: true
hive:
build:
context: ${HIVE_WORKERSPACE}
dockerfile: Dockerfile
image: ccinn/docker-cdh6-hive:latest
networks:
- docker-cdh6-networks
depends_on:
- hadoop
- hive-postgresql
privileged: true
hive-postgresql:
build:
context: ${HIVE_POSTGRESQL_WORKERSPACE}
dockerfile: Dockerfile
image: ccinn/docker-cdh6-hive-postgresql:latest
networks:
- docker-cdh6-networks
depends_on:
- hadoop
privileged: true
impala:
build:
context: ${IMPALA_WORKERSPACE}
dockerfile: Dockerfile
image: ccinn/docker-cdh6-impala:latest
networks:
- docker-cdh6-networks
depends_on:
- hive
privileged: true