tnhgiang commented on issue #12866: URL: https://github.com/apache/iceberg/issues/12866#issuecomment-2820934203
Here is my `compose file`, plase have a look at it. ```yaml services: trino: image: trinodb/trino:474 hostname: trino container_name: trino environment: WAREHOUSE: s3a://${MINIO_WAREHOUSE_BUCKET}/ CATALOG_URI: ${REST_CATALOG_ENDPOINT} S3_AWS_ENDPOINT: ${MINIO_ENDPOINT} S3_AWS_REGION: ${MINIO_REGION} S3_AWS_ACCESS_KEY: ${MINIO_ROOT_USER} S3_AWS_SECRET_KEY: ${MINIO_ROOT_PASSWORD} ports: - ${TRINO_PORT}:${TRINO_PORT} volumes: - ../src/lakehouse/trino/etc/catalog:/etc/trino/catalog depends_on: - rest - minio rest: image: apache/iceberg-rest-fixture:1.8.1 hostname: ${REST_CATALOG_HOST} container_name: iceberg-rest ports: - ${REST_CATALOG_PORT}:${REST_CATALOG_PORT} environment: AWS_ACCESS_KEY_ID: ${MINIO_ROOT_USER} AWS_SECRET_ACCESS_KEY: ${MINIO_ROOT_PASSWORD} AWS_REGION: ${MINIO_REGION} CATALOG_WAREHOUSE: s3a://${MINIO_WAREHOUSE_BUCKET}/ CATALOG_IO__IMPL: org.apache.iceberg.aws.s3.S3FileIO CATALOG_S3_ENDPOINT: ${MINIO_ENDPOINT} CATALOG_S3_PATH__STYLE__ACCESS: true depends_on: - minio minio: image: minio/minio:RELEASE.2025-04-08T15-41-24Z hostname: ${MINIO_HOST} container_name: minio command: ["server", "/data", "--console-address", ":${MINIO_CONSOLE_PORT}"] environment: MINIO_ROOT_USER: ${MINIO_ROOT_USER} MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD} ports: - "${MINIO_CONSOLE_PORT}:${MINIO_CONSOLE_PORT}" expose: - "${MINIO_API_PORT}" volumes: - ../data/minio:/data mc: image: minio/mc:RELEASE.2025-04-08T15-39-49Z container_name: mc hostname: mc entrypoint: > /bin/sh -c " until /usr/bin/mc config host add minio ${MINIO_ENDPOINT} ${MINIO_ROOT_USER} ${MINIO_ROOT_PASSWORD}; do echo '...waiting...' && sleep 1; done; /usr/bin/mc mb minio/${MINIO_WAREHOUSE_BUCKET}; /usr/bin/mc policy set public minio/${MINIO_WAREHOUSE_BUCKET}; exit 0; " depends_on: - minio ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org