mirror of
https://github.com/milvus-io/milvus.git
synced 2026-07-21 10:15:43 +00:00
Current health check doesn't work. Assisted by Codex. https://github.com/minio/minio/issues/18389 Signed-off-by: Letu Ren <letur@nvidia.com>
20 lines
561 B
YAML
20 lines
561 B
YAML
- name: minio volume
|
|
docker_volume:
|
|
name: minio_volume
|
|
|
|
- name: "minio"
|
|
docker_container:
|
|
name: minio
|
|
image: minio/minio:RELEASE.2024-05-28T17-19-04Z
|
|
env:
|
|
MINIO_ACCESS_KEY: minioadmin
|
|
MINIO_SECRET_KEY: minioadmin
|
|
volumes:
|
|
- minio_volume:/data
|
|
command: minio server /data --console-address ":9001"
|
|
healthcheck:
|
|
test: ["CMD", "mc", "ready", "local"]
|
|
interval: 30s
|
|
timeout: 20s
|
|
retries: 3
|
|
network_mode: "{{dependencies_network}}" #Use the network which defined as variable in Inventory. |