-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
82 lines (70 loc) · 1.5 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
version: "3"
volumes:
hadoop_namenode:
hadoop_datanode:
shared-workspace:
external: true
postgres-data:
services:
db:
container_name: pg_container
image: postgres
restart: always
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: root
POSTGRES_DB: newdb
ports:
- "5432:5432"
volumes:
- postgres-data:/var/lib/postgresql/data
pgadmin:
container_name: pgadmin4_container
image: dpage/pgadmin4
restart: always
environment:
PGADMIN_DEFAULT_EMAIL: [email protected]
PGADMIN_DEFAULT_PASSWORD: root
ports:
- "5050:80"
hive:
image: hive
container_name: hive
restart: always
ports:
- "54310:54310"
- "54311:54311"
- "9870:9870"
- "5349:5349"
- "5249:5249"
volumes:
- hadoop_datanode:/opt/hadoop/hadoop_data/hdfs/datanode
- hadoop_namenode:/opt/hadoop/hadoop_data/hdfs/namenode
spark:
image: spark
container_name: spark
restart: always
ports:
- "8080:8080"
- "7077:7077"
- "8081:8081"
- "7000:7000"
theia:
image: theia
container_name: theia
ports:
- "3000:3000"
volumes:
- shared-workspace:/home/project
jupyter:
image: jupyter
container_name: jupyter
ports:
- "8888:8888"
- "4040:4040"
volumes:
- shared-workspace:/opt/workspace
#Jupyter
#https://www.kdnuggets.com/2020/07/apache-spark-cluster-docker.html
#Theia
#https://github.com/theia-ide/theia-apps