milvus/deployments/docker/cluster-distributed-deployment/roles/deploy-minio/tasks/main.yml
john-h-luo b8891aa714
[skip e2e] Add ansible deployment support for centos/redhat/debain/ubuntu (#18491)
Signed-off-by: john-h-luo <jiehua.luo@zilliz.com>

Signed-off-by: john-h-luo <jiehua.luo@zilliz.com>
2022-08-12 20:56:46 +08:00

20 lines
594 B
YAML

- name: minio volume
docker_volume:
name: minio_volume
- name: "minio"
docker_container:
name: minio
image: minio/minio:RELEASE.2022-03-17T06-34-49Z
env:
MINIO_ACCESS_KEY: minioadmin
MINIO_SECRET_KEY: minioadmin
volumes:
- minio_volume:/data
command: minio server /data --console-address ":9001"
healthcheck:
test: ["CMD", "curl", "-f", "http://127.0.0.1:9000/minio/health/live"]
interval: 30s
timeout: 20s
retries: 3
network_mode: "{{dependencies_network}}" #Use the network which defined as variable in Inventory.