| # |
| # Licensed to the Apache Software Foundation (ASF) under one or more |
| # contributor license agreements. See the NOTICE file distributed with |
| # this work for additional information regarding copyright ownership. |
| # The ASF licenses this file to You under the Apache License, Version 2.0 |
| # (the "License"); you may not use this file except in compliance with |
| # the License. You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| # |
| version: "3.9" |
| services: |
| trino: |
| container_name: trino |
| hostname: trino |
| ports: |
| - '8080:8080' |
| image: 'trinodb/trino:428' |
| volumes: |
| - ./trino/catalog:/etc/trino/catalog |
| - ./data:/home/data |
| |
| presto: |
| container_name: presto |
| hostname: presto |
| ports: |
| - '8082:8082' |
| image: 'prestodb/presto:0.283' |
| volumes: |
| - ./presto/catalog:/opt/presto-server/etc/catalog |
| - ./presto/config.properties:/opt/presto-server/etc/config.properties |
| - ./presto/jvm.config:/opt/presto-server/etc/jvm.config |
| - ./presto/node.properties:/opt/presto-server/etc/node.properties |
| - ./data:/home/data |
| |
| hive-metastore: |
| container_name: hive-metastore |
| hostname: hive-metastore |
| image: 'apache/hive:4.0.0-alpha-2' |
| ports: |
| - '9083:9083' # Metastore Thrift |
| environment: |
| SERVICE_NAME: metastore |
| HIVE_METASTORE_WAREHOUSE_DIR: /home/data |
| volumes: |
| - ./data:/home/data |
| |
| jupyter: |
| container_name: jupyter |
| hostname: jupyter |
| image: 'almondsh/almond:latest' |
| ports: |
| - '8888:8888' |
| volumes: |
| - ./notebook:/home/jovyan/work |
| - ./jars:/home/jars |
| - ./data:/home/data |