  minio:
    image: minio/minio:latest
    container_name: minio
    command: server /data --console-address ":9001"
    restart: unless-stopped
    environment:
      MINIO_ROOT_USER: ${MINIO_ROOT_USER}
      MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD}
      # Set these if you’ll access MinIO via a reverse proxy (highly recommended)
      MINIO_SERVER_URL: ${MINIO_SERVER_URL:-}            # e.g. https://s3.ztariq.com
      MINIO_BROWSER_REDIRECT_URL: ${MINIO_BROWSER_REDIRECT_URL:-}  # e.g. https://console.ztariq.com
    healthcheck:
      test: ["CMD", "curl", "-fsS", "http://localhost:9000/minio/health/live"]
      interval: 15s
      timeout: 3s
      retries: 20
    volumes:
      - ./minio_data:/data
      - ./minio_config:/root/.minio
    networks:
      - hurricane