-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
57 lines (52 loc) · 1.1 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
version: '3'
services:
namenode:
build: ./components/namenode
container_name: namenode
volumes:
- ./volume-data/namenode:/hadoop/dfs/name
environment:
- CLUSTER_NAME=bigdatagrapescluster
env_file:
- ./config/hadoop.env
ports:
- 50070:50070
- 8020:8020
datanode:
build: ./components/datanode
depends_on:
- namenode
volumes:
- ./volume-data/datanode:/hadoop/dfs/data
env_file:
- ./config/hadoop.env
ports:
- 50075:50075
spark-geo-worker:
build: ./components/spark-geo-worker
depends_on:
- spark-master
env_file:
- ./config/hadoop.env
spark-master:
build: ./components/spark-master
container_name: spark-master
depends_on:
- namenode
volumes:
- ./volume-data/raster-processing:/bashes
ports:
- 8080:8080
- 7077:7077
- 6066:6066
- 8002:8002
- 8001:8001
env_file:
- ./config/hadoop.env
hue:
build: ./components/hue
container_name: hue
ports:
- 8088:8088
environment:
- NAMENODE_HOST=namenode