Closed gschmutz closed 1 week ago
Upon start of the containers, we should have an option to copy the data in the /data-transfer folder to a bucket in Minio, similar to shown below:
/data-transfer
minio: image: minio/minio container_name: minio environment: - MINIO_ROOT_USER=admin - MINIO_ROOT_PASSWORD=password - MINIO_DOMAIN=minio - MINIO_REGION_NAME=us-east-1 - MINIO_REGION=us-east-1 ports: - "9000:9000" - "9001:9001" healthcheck: test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"] interval: 30s timeout: 20s retries: 3 volumes: - ./minio-data:/minio-data # Mount the local folder to container entrypoint: > /bin/sh -c " minio server /data --console-address ':9001' & sleep 5; mc alias set myminio http://localhost:9000 admin password; mc mb myminio/datalake; mc mb myminio/datalakehouse; mc mb myminio/warehouse; mc mb myminio/seed; mc cp /minio-data/* myminio/seed/; tail -f /dev/null"
Upon start of the containers, we should have an option to copy the data in the
/data-transfer
folder to a bucket in Minio, similar to shown below: