-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (33 loc) · 850 Bytes
/
docker-compose.yml
File metadata and controls
35 lines (33 loc) · 850 Bytes
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
version: '3.2'
services:
hadoop:
build:
context: .
dockerfile: ./Docker/Dockerfile
ports:
# Hdfs ports
- "50010:50010"
- "50020:50020"
- "50070:50070"
- "50075:50075"
- "50090:50090"
# mapred ports
- "19888:19888"
# yarn ports
- "8030:8030"
- "8031:8031"
- "8032:8032"
- "8033:8033"
- "8040:8040"
- "8042:8042"
- "8088:8088"
# others
- "49707:49707"
- "2122:2122"
# spark
- "8080:8080"
- "7077:7077"
command: tail -f /dev/null
volumes:
- "./share:/usr/local/share"
- "./mongodbData:/data/db"