-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yaml
59 lines (53 loc) · 1 KB
/
docker-compose.yaml
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
version: "3"
services:
hadoop:
hostname: hadoop
container_name: hadoop
build:
context: database
dockerfile: Dockerfile
ports:
- "8080:8080"
- "8085:8085"
- "9090:9090"
- "9095:9095"
- "2181:2181"
- "16010:16010"
- "8088:8088"
- "9000:9000"
- "8032:8032"
- "9870:9870"
- "8042:8042"
volumes:
- ./database/hdfs:/hdfs
hbase-client:
build:
context: hbase-client
dockerfile: Dockerfile
env_file:
- ./hbase-client/.env
ports:
- "8082:8082"
restart: unless-stopped
backend:
build:
context: backend
dockerfile: Dockerfile
env_file:
- ./backend/.env
depends_on:
- hadoop
ports:
- "8081:8081"
volumes:
- ./backend/app:/app/app
restart: unless-stopped
frontend:
build:
context: frontend
dockerfile: Dockerfile
depends_on:
- backend
ports:
- "3000:3000"
restart: unless-stopped