Minio is an object storage server, and API compatible with Amazon S3 cloud storage service. Read more at the minio.io website.
The smallest PaaS implementation you've ever seen - Docker powered mini-Heroku Read more at the Dokku website
- A working Dokku host - (Installation Instructions)
Log onto your Dokku Host to create the minio app
dokku apps:create minio
minio uses an access key and secret key for login, and object management. You can set custom keys with /Environment Variables/. if keys aren't set, minio server will generate them.
dokku config:set minio MINIO_ACCESS_KEY=AKIAIOSFODNN7EXAMPLE
dokku config:set minio MINIO_SECRET_KEY=wJalrXUtnFEMI/K7MDENG/EXAMPLEKEY
Note: you can find the minio generated keys by checking app logs, with: dokku logs minio
from your local machine clone this repo
git clone https://github.com/slypix/minio-dokku.git
cd minio-dokku
git remote add dokku dokku@<your-dokku-host.com>:minio
git push dokku master
minio will use docker’s container (non-persistent) directory \home\dokku\data
, if you need to (stop_rebuild_restart) the app you will loose all data from that directory. So we can map a host directory to \home\dokku\data
with Dokku Storage to make it persistent.
you can use an existing directory or create a new one make sure you switch to dokku user before you create a new directory
su dokku
mkdir /home/dokku/minio/data
Mount directory and restart app:
dokku storage:mount minio /home/dokku/minio/data:/home/dokku/data
dokku ps:restart minio