No description or website provided.
Clone or download
Latest commit da8ffd7 Feb 19, 2018

Minio spring boot starter

Spring boot starter project that autoconfigure a Minio client. Minio is a high performance distributed object storage server, designed for large-scale private cloud infrastructure.


Start minio stack:
  1. Add Docker swarm secrets
echo "AKIAIOSFODNN7EXAMPLE" | docker secret create access_key -
echo "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY" | docker secret create secret_key -

See []Minio Docker Quickstart Guide](

  1. Deploy stack
docker stack deploy --compose-file=minio-swarm.yml  minio_stack
  1. Test proxy We configured Træfɪk with Host:minioproxy. So we need to have a dns record for minioproxy pointing to a ip address of any Docker swarm node or just add it to /etc/hosts for a quick test.


You need to add minio-springboot-starter dependency to your pom. Till now, you need to build the starter and it to your repo. You can either use the rest API to interact with minio, by setting minio.endpoint.enable = true (default value is false), or using the MinioTemplate class service directly on your code. you need also to setup minion credentials.

Below a configuration example

  url: http://minioproxy
  access-key: changeme
  secret-key: changeme
    enable: true
    name: miniotest