forked from sunchao/dev-env
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
64 lines (62 loc) · 1.09 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
60
61
62
63
64
version: '3'
services:
hdfs:
build:
context: ./docker/hdfs
dockerfile: Dockerfile
args:
hdfs: ${HDFS}
networks:
- dev-nw
image: hdfs
ports:
- 9020:9020
- 50070:50070
- 50075:50075
- 8020:8020
- 8042:8042
container_name: hdfs-box
hostname: hdfs-box
stdin_open: true
tty: true
zk:
build:
context: ./docker/zk
dockerfile: Dockerfile
args:
zookeeper: ${ZOOKEEPER}
networks:
- dev-nw
image: zookeeper
ports:
- 2181:2181
- 2888:2888
- 3888:3888
container_name: zk-box
hostname: zk-box
hive:
depends_on:
- hdfs
- zk
build:
context: ./docker/hive
dockerfile: Dockerfile
args:
hive: ${HIVE}
hive_schema_version: ${HIVE_SCHEMA_VERSION}
networks:
- dev-nw
container_name: hive-box
hostname: hive-box
stdin_open: true
image: hive
tty: true
ports:
- 10000:10000
- 9083:9083
networks:
default:
external:
name: dev-nw
dev-nw:
driver: bridge