version: '3.8'networks: base: consul:services: minio: image: minio/minio:latest hostname: minio container_name: minio ports: - "9000:9000" - "9001:9001" restart: always command: server /data --console-address ":9001" environment: MINIO_ROOT_USER: minio MINIO_ROOT_PASSWORD: minio123 MINIO_PROMETHEUS_AUTH_TYPE: public logging: options: max-size: "5M" max-file: "10" driver: json-file volumes: - ./minio/data:/data healthcheck: test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"] interval: 30s timeout: 20s retries: 3 networks: