Skip to content

Instantly share code, notes, and snippets.

@dimfeld
Last active October 8, 2024 22:58
Show Gist options
  • Save dimfeld/3a0946a2bbfc24a733a7ab4ccdc14ff9 to your computer and use it in GitHub Desktop.
Save dimfeld/3a0946a2bbfc24a733a7ab4ccdc14ff9 to your computer and use it in GitHub Desktop.
Iceberg REST Docker Compose
version: "3"
services:
minio:
image: quay.io/minio/minio
container_name: cc-minio
networks:
cc:
aliases:
- data-warehouse.minio
ports:
- "0.0.0.0:9000:9000"
- "0.0.0.0:9001:9001"
volumes:
- ./data/minio:/data
environment:
MINIO_ROOT_USER: cc-minio-admin
MINIO_ROOT_PASSWORD: cc-minio-password
MINIO_DOMAIN: minio
command: server /data --console-address ":9001"
core-data-rest:
image: tabulario/iceberg-rest
container_name: cc-iceberg-rest-core-data
networks:
cc:
ports:
- "0.0.0.0:8181:8181"
volumes:
- ./data/catalog:/catalog
environment:
AWS_ACCESS_KEY_ID: cc-minio-admin
AWS_SECRET_ACCESS_KEY: cc-minio-password
AWS_REGION: us-west-2
CATALOG_WAREHOUSE: s3://data-warehouse/
CATALOG_IO__IMPL: org.apache.iceberg.aws.s3.S3FileIO
CATALOG_URI: jdbc:sqlite:/catalog/iceberg_rest.db
CATALOG_S3_ENDPOINT: http://minio:9000
networks:
cc:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment