MinIO

MinIO is a high-performance, S3 compatible object store, open sourced under GNU AGPLv3 license.

# file: `docker-compose.yml`

services:
  minio:
    image: ${HONEYPI_IMAGE_REGISTRY_HOST:-docker.io}/minio/minio:${HONEYPI_MINIO_VERSION:-latest}
    container_name: minio
    restart: unless-stopped
    ports:
      - ${HONEYPI_MINIO_PORT:-9000}:9000
      - ${HONEYPI_MINIO_PORT_UI:-9001}:9001
    volumes:
      - ${HONEYPI_DATA}/minio/data:/data
    command: server /data --console-address ":9001"
    environment:
      - MINIO_ROOT_USER=${HONEYPI_MINIO_USER:-admin}
      - MINIO_ROOT_PASSWORD=${HONEYPI_MINIO_PASSWORD}
    labels:
      - traefik.enable=${HONEYPI_MINIO_TRAEFIK_ENABLE:-false}
      - traefik.http.routers.minio.rule=Host(`${HONEYPI_MINIO_HOST}`)
      - traefik.http.routers.minio.entrypoints=websecure
      - traefik.http.routers.minio.tls.certresolver=resolver
      - traefik.http.routers.minio.service=minio
      - traefik.http.services.minio.loadbalancer.server.port=9000