summaryrefslogtreecommitdiffstats
path: root/src/s3select/container/trino/hms_trino.yaml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-21 11:54:28 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-21 11:54:28 +0000
commite6918187568dbd01842d8d1d2c808ce16a894239 (patch)
tree64f88b554b444a49f656b6c656111a145cbbaa28 /src/s3select/container/trino/hms_trino.yaml
parentInitial commit. (diff)
downloadceph-e6918187568dbd01842d8d1d2c808ce16a894239.tar.xz
ceph-e6918187568dbd01842d8d1d2c808ce16a894239.zip
Adding upstream version 18.2.2.upstream/18.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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:
+