version: '3.7' services: minio: container_name: minio image: quay.io/minio/minio:RELEASE.2022-06-03T01-40-53Z command: server --console-address ":80" /data environment: MINIO_ROOT_USER: {{ minio_root_user }} MINIO_ROOT_PASSWORD: {{ minio_root_pwd }} healthcheck: test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"] interval: 30s timeout: 20s retries: 3 hostname: minio restart: always ports: - 9000:9000 - 9090:9090 - 80:80 volumes: - /data/minio:/data