Skip to content

MinIO is a Object Storage compatible with S3. - Docker Image based on Alpine & Scratch.

License

Notifications You must be signed in to change notification settings

Tob1as/docker-minio

Repository files navigation

MinIO on x86_64 and ARM

Supported tags and respective Dockerfile links

What is MinIO?

MinIO is a High Performance Object Storage released under GNU Affero General Public License v3.0. It is API compatible with Amazon S3 cloud storage service. Use MinIO to build high performance infrastructure for machine learning, analytics and application data workloads.

MinIO running on baremetal hardware, Docker and Kubernetes.

read more

MinIO

About these images:

How to use these images:

  • $ docker run --name minio -v $(pwd)/minio-data:/data:rw -p 9000:9000 -p 9001:9001 -e "MINIO_ROOT_USER=minio" -e "MINIO_ROOT_PASSWORD=minio123" -d tobi312/minio:latest server --console-address ":9001" /data

  • Environment Variables:

    • MINIO_ROOT_USER (set user)
    • MINIO_ROOT_PASSWORD (set password)
    • optional: user/group in container instead root:
      • MINIO_USERNAME and MINIO_GROUPNAME (set user and group name, example minio)
      • MINIO_UID and MINIO_GID (set ID for user and group, example 1000)
    • optional: MinIO Console behind a load balancer, proxy or k8s ingress (*)
      • MINIO_SERVER_URL
      • MINIO_BROWSER_REDIRECT_URL

More Information see official MinIO Documentation !

Docker-Compose

version: "2.4"
services:

  minio:
    image: tobi312/minio:latest
    container_name: minio
    #restart: unless-stopped
    ports:
      - "9000:9000" # Buckets
      - "9001:9001" # Console
    volumes:
      - ./minio-data:/data:rw
    environment:
      MINIO_ROOT_USER: minio
      MINIO_ROOT_PASSWORD: minio123
    command:  ["server", "--address", ":9000", "--console-address", ":9001", "/data"]
    healthcheck:
      test: ["CMD", "curl", "--fail", "http://localhost:9000/minio/health/live"]
      interval: 60s
      timeout: 10s
      retries: 3

This Image on