config/storage.yml:

minio:
  service: S3
  access_key_id: <%= ENV['ACCESS_KEY_ID'] %>
  secret_access_key: <%= ENV['SECRET_ACCESS_KEY'] %>
  region: us-east-1
  bucket: my_bucket_name
  endpoint: "https://my.minio.instance.com"
  force_path_style: true