summaryrefslogtreecommitdiffstats
path: root/src/s3select/container/trino/hms_trino.yaml
blob: 42d22f842f357e1233d4b9ccee2fa48e86c11e26 (plain)
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
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: