11---
2+ # Licensed to the Apache Software Foundation (ASF) under one
3+ # or more contributor license agreements. See the NOTICE file
4+ # distributed with this work for additional information
5+ # regarding copyright ownership. The ASF licenses this file
6+ # to you under the Apache License, Version 2.0 (the
7+ # "License"); you may not use this file except in compliance
8+ # with the License. You may obtain a copy of the License at
9+ #
10+ # http://www.apache.org/licenses/LICENSE-2.0
11+ #
12+ # Unless required by applicable law or agreed to in writing, software
13+ # distributed under the License is distributed on an "AS IS" BASIS,
14+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+ # See the License for the specific language governing permissions and
16+ # limitations under the License.
17+
218# Stack: Trino + Hive Metastore + MinIO (S3 storage)
319#
420# This is the battle-tested Trino + Iceberg local setup.
1531
1632services :
1733
18- # ── PostgreSQL (Hive Metastore backing database) ───────────────────────────
34+ # PostgreSQL (Hive Metastore backing database)
1935 postgres :
2036 image : postgres:15-alpine
2137 container_name : trino-postgres
@@ -33,7 +49,7 @@ services:
3349 timeout : 5s
3450 retries : 5
3551
36- # ── MinIO (S3-compatible object storage) ──────────────────────────────────
52+ # MinIO (S3-compatible object storage)
3753 minio :
3854 image : minio/minio:latest
3955 container_name : trino-minio
@@ -67,7 +83,7 @@ services:
6783 exit 0;
6884 "
6985
70- # ── Hive Metastore ────────────────────────────────────────────────────────
86+ # Hive Metastore
7187 # naushadh/hive-metastore is a minimal, pre-configured HMS image
7288 # that supports S3-compatible storage via env vars.
7389 metastore :
@@ -101,7 +117,7 @@ services:
101117 timeout : 10s
102118 retries : 15
103119
104- # ── Trino ─────────────────────────────────────────────────────────────────
120+ # Trino
105121 trino :
106122 image : trinodb/trino:435
107123 container_name : trino
0 commit comments