-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.presto.yml
51 lines (49 loc) · 1.23 KB
/
docker-compose.presto.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
version: '3.6'
services:
presto-coordinator:
container_name: presto-coordinator
build:
context: _dockerfile/docker-presto
dockerfile: Dockerfile
environment:
- PRESTO_NODE_ID=presto-coordinator
ports:
- "8889:8080"
volumes:
- ./_dockerfile/docker-presto/etc/catalog:/opt/presto/etc/catalog
presto-worker-01:
container_name: presto-worker-01
build:
context: _dockerfile/docker-presto
dockerfile: Dockerfile
environment:
- PRESTO_COORDINATOR=presto-coordinator
- PRESTO_NODE_ID=presto-worker-01
volumes:
- ./_dockerfile/docker-presto/etc/catalog:/opt/presto/etc/catalog
depends_on:
- presto-coordinator
command:
- /bin/sh
- -c
- |
sleep 20;
/entrypoint.sh
presto-worker-02:
container_name: presto-worker-02
build:
context: _dockerfile/docker-presto
dockerfile: Dockerfile
environment:
- PRESTO_COORDINATOR=presto-coordinator
- PRESTO_NODE_ID=presto-worker-02
volumes:
- ./_dockerfile/docker-presto/etc/catalog:/opt/presto/etc/catalog
depends_on:
- presto-coordinator
command:
- /bin/sh
- -c
- |
sleep 20;
/entrypoint.sh