-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
38 lines (36 loc) · 1.08 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
version: '2.2'
services:
coordinator:
image: trinodb/trino
container_name: trino-coordinator
ports:
- "8080:8080"
networks:
- trino-network
volumes:
- ./test/config/trino/config.coordinator.properties:/etc/trino/config.properties
- ./test/config/trino/node.properties:/etc/trino/node.properties
- ./test/config/trino/jvm.config:/etc/trino/jvm.config
- ./test/config/trino/catalog:/etc/trino/catalog
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080"]
interval: 5m
timeout: 10s
retries: 5
start_period: 60s
worker:
image: trinodb/trino
container_name: trino-worker1
restart: always
volumes:
- ./test/config/trino/config.worker.properties:/etc/trino/config.properties
- ./test/config/trino/node.properties:/etc/trino/node.properties
- ./test/config/trino/jvm.config:/etc/trino/jvm.config
- ./test/config/trino/catalog:/etc/trino/catalog
depends_on:
- coordinator
networks:
- trino-network
networks:
trino-network:
driver: bridge