tnhgiang commented on issue #12866: URL: https://github.com/apache/iceberg/issues/12866#issuecomment-2823384646
Thanks @ebyhr @nastra. > You can try this docker compose yml (please download `postgresql-42.7.5.jar` beforehand): > > volumes: > data: {} > > services: > postgresql: > container_name: postgresql > image: postgres:12 > environment: > POSTGRES_DB: 'test' > POSTGRES_USER: 'test' > POSTGRES_PASSWORD: 'test' > ports: > - "5432:5432" > healthcheck: > test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"] > interval: 5s > retries: 3 > > minio: > container_name: minio > image: quay.io/minio/minio > environment: > MINIO_ROOT_USER: minioadmin > MINIO_ROOT_PASSWORD: minioadmin > ports: > - "9000:9000" > - "9001:9001" > volumes: > - data:/data > command: server /data --console-address ":9001" > > create-bucket: > image: minio/mc > depends_on: > - minio > volumes: > - data:/data > entrypoint: mc mb /data/bucket > > irc: > hostname: irc > image: apache/iceberg-rest-fixture:1.8.1 > depends_on: > postgresql: > condition: service_healthy > minio: > condition: service_started > volumes: > - ./postgresql-42.7.5.jar:/usr/lib/iceberg-rest/postgresql-42.7.5.jar > ports: > - "8181:8181" > environment: > CATALOG_URI: jdbc:postgresql://postgresql:5432/test > CATALOG_JDBC_USER: test > CATALOG_JDBC_PASSWORD: test > AWS_REGION: us-east-1 > CATALOG_WAREHOUSE: s3://bucket/warehouse/ > CATALOG_IO__IMPL: org.apache.iceberg.aws.s3.S3FileIO > CATALOG_S3_ENDPOINT: http://minio:9000 > CATALOG_S3_PATH__STYLE__ACCESS: true > CATALOG_S3_ACCESS__KEY__ID: minioadmin > CATALOG_S3_SECRET__ACCESS__KEY: minioadmin > > command: java -cp /usr/lib/iceberg-rest/*:iceberg-rest-adapter.jar org.apache.iceberg.rest.RESTCatalogServer > > trino: > container_name: trino > image: trinodb/trino:474 > environment: > CATALOG_MANAGEMENT: 'dynamic' > depends_on: > - irc > - minio > ports: > - "8080:8080" It works -- 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