github.com/pingcap/tiflow@v0.0.0-20240520035814-5bf52d54e205/deployments/engine/docker-compose/1minio.yaml (about) 1 version: '2.3' 2 3 services: 4 minio-standalone: 5 image: minio/minio 6 container_name: minio-standalone 7 command: server --console-address ":9001" /data 8 ports: 9 - "9000:9000" 10 - "9001:9001" 11 # volumes: 12 # - /tmp/tiflow_engine_test/minio/data:/data 13 environment: 14 MINIO_ROOT_USER: engine 15 MINIO_ROOT_PASSWORD: engineSecret 16 healthcheck: 17 test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"] 18 interval: 10s 19 timeout: 60s 20 retries: 6 21 createbuckets: 22 image: minio/mc 23 depends_on: 24 - minio-standalone 25 entrypoint: > 26 /bin/sh -c " 27 /usr/bin/mc alias set myminio http://minio-standalone:9000 engine engineSecret; 28 /usr/bin/mc mb myminio/engine-ut; 29 /usr/bin/mc version enable myminio/engine-ut; 30 exit 0; 31 "