toastie89 0067024e96 changed reverse proxy network 11 months ago
data c061235049 initial 4 years ago
.env.template db73ed455d updated port mapping 1 year ago
.gitignore 2363a0727c included docker-compose.override.yml 1 year ago 0c272cab57 added script for getting tls certs 4 years ago 9b250ea852 moved to /minio 1 year ago 810c07c648 removed extra section for advanced setup 1 year ago
docker-compose.override.yml 0067024e96 changed reverse proxy network 11 months ago
docker-compose.yml a431ab8c10 fixed tls support 1 year ago


MinIO, an Amazon S3 compatible object storage server. In this repository you'll find everything to get MinIO with Docker Compose going.


Scope of the basic setup is to run minio

  • as unprivileged user
  • with a directoy mounted for data
  • with the container port 9000 (S3) mapped to a host port

Scope of the advance setup is to run minio in addition

  • with TLS support
  • with web ui (console, port 9001) exposed
  • with TLS support for s3 (port 9000), borrowed from a reverse proxy


# Prepare a directory
[ -d $miniodir ] && echo "Directory $miniodir already exists" && exit 1
mkdir -p /opt/docker/
cd /opt/docker/

# Clone repo
git clone

# Prepare your configuration
cp .env.template .env
  # Update .env
  # - Set custom access and secret keys
  # - set fqdn in $HOSTNAME
  # - set $CERT_PATH to your reverse proxy

# Create a home and data directory owned by 1000:1000
mkdir -p $miniodir/data/home $miniodir/data/data
chown -R 1000:1000 $miniodir

# Start miniominio
docker-compose up -f docker-compose.yml up
docker logs --follow minio

docker-compose up
docker logs --follow minio