summaryrefslogtreecommitdiffstats
path: root/src/s3select/container/trino/hms_trino.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'src/s3select/container/trino/hms_trino.yaml')
-rw-r--r--src/s3select/container/trino/hms_trino.yaml31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/s3select/container/trino/hms_trino.yaml b/src/s3select/container/trino/hms_trino.yaml
new file mode 100644
index 000000000..42d22f842
--- /dev/null
+++ b/src/s3select/container/trino/hms_trino.yaml
@@ -0,0 +1,31 @@
+version: '3'
+services:
+ hms:
+ image: galsl/hms:dev
+ container_name: hms
+ environment:
+ # S3_ENDPOINT the CEPH/RGW end-point-url
+ - S3_ENDPOINT=http://10.0.209.201:80
+ - S3_ACCESS_KEY=abc1
+ - S3_SECRET_KEY=abc1
+ # the container starts with booting the hive metastore
+ command: sh -c '. ~/.bashrc; start_hive_metastore'
+ ports:
+ - 9083:9083
+ networks:
+ - trino_hms
+
+ trino:
+ image: trinodb/trino
+ container_name: trino
+ volumes:
+ # the trino directory contains the necessary configuration
+ - ./trino:/etc/trino
+ ports:
+ - 8080:8080
+ networks:
+ - trino_hms
+
+networks:
+ trino_hms:
+