1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# MinIO (S3-compatible) for platform connector integration tests — development / CI opt-in only.
#
# Buckets: rdp-snowflake-stage, rdp-databricks-warehouse, rdp-spark-handoff
#
# Usage:
# cd integration_testing/MinIO
# cp .env.example .env # optional
# docker compose up -d
# docker compose logs -f minio-init
networks:
rdp-platform:
name: rdp-platform-net
services:
# minio/minio and minio/mc use different release tags on Docker Hub (mc has no 2024-12-18 tag).
minio:
image: minio/minio:RELEASE.2024-12-18T13-15-44Z
container_name: rdp-minio-test
restart: "no"
command: server /data --console-address ":9001"
ports:
- "${MINIO_PORT:-9000}:9000"
- "${MINIO_CONSOLE_PORT:-9001}:9001"
environment:
MINIO_ROOT_USER: ${MINIO_ROOT_USER:-rdp_minio}
MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD:-rdp_minio_secret}
volumes:
- minio-data:/data
networks:
- rdp-platform
healthcheck:
test:
interval: 5s
timeout: 5s
retries: 24
start_period: 10s
minio-init:
image: minio/mc:RELEASE.2025-08-13T08-35-41Z
container_name: rdp-minio-init
restart: "no"
depends_on:
minio:
condition: service_healthy
networks:
- rdp-platform
environment:
MINIO_ROOT_USER: ${MINIO_ROOT_USER:-rdp_minio}
MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD:-rdp_minio_secret}
entrypoint: >
/bin/sh -c "
mc alias set local http://minio:9000 $$MINIO_ROOT_USER $$MINIO_ROOT_PASSWORD &&
mc mb --ignore-existing local/rdp-snowflake-stage &&
mc mb --ignore-existing local/rdp-databricks-warehouse &&
mc mb --ignore-existing local/rdp-spark-handoff &&
mc anonymous set download local/rdp-snowflake-stage &&
echo 'MinIO buckets ready (rdp-snowflake-stage: anonymous download for emulator READ_PARQUET)'
"
volumes:
minio-data: