forked from joshuarobinson/trino-on-k8s
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
50 lines (48 loc) · 1.96 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
version: '3'
services:
hive-metastore:
container_name: hive-metastore
image: registry.redhat.io/openshift4/ose-metering-hive:v4.4
entrypoint: ["/hive-scripts/entrypoint.sh", "/opt/hive/bin/hive", "--service", "metastore"]
ports:
- "9083:9083"
environment:
- HIVE_LOGLEVEL=INFO
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
volumes:
- './testing/metastore/hive-config:/hive-config'
- './testing/metastore/hive-scripts:/hive-scripts'
- './testing/metastore/hive-jmx-config:/opt/jmx_exporter/config'
- './testing/metastore/db-data:/var/lib/hive'
- './testing/hadoop/hadoop-dfs-name:/hadoop/dfs/name'
- './testing/hadoop/hadoop-dfs-data:/hadoop/dfs/data'
- './testing/hadoop/hadoop-logs:/opt/hadoop/logs'
- './testing/hadoop/hadoop-config:/hadoop-config'
- './testing/hadoop/hadoop-starting-config:/hadoop-starting-config'
presto:
container_name: presto
image: registry.redhat.io/openshift4/ose-metering-presto:v4.4
user: root
command: /presto-common/initialize_presto.sh
ports:
- "8080:8080"
environment:
- MY_NODE_ID=${MY_NODE_ID-localhost}
- LOCAL=TRUE
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
volumes:
- './testing/presto/presto-common-config:/presto-common'
- './testing/presto/presto-coordinator-config/:/presto-etc'
- './testing/presto/presto-catalog-config:/presto-etc/catalog'
- './testing/presto/presto-etc:/opt/presto/presto-server/etc'
- './testing/presto/presto-jmx-config:/opt/jmx_exporter/config'
- './testing/presto/presto-data:/var/presto/data'
- './testing/presto/presto-logs:/var/presto/logs'
- './testing/hadoop/hadoop-config:/hadoop-config'
- './testing/hadoop/hadoop-starting-config:/hadoop-starting-config'
links:
- hive-metastore
depends_on:
- hive-metastore