This repository contains a Docker image based on minio/minio
that overrides
the CMD
in order to directly start the Minio server.
It can be used to deploy Minio on Dokku.
On your server:
APP_NAME=minio
dokku apps:create "$APP_NAME"
sudo -u dokku mkdir -p "/var/lib/dokku/data/storage/$APP_NAME/volumes/minio"
dokku storage:mount "$APP_NAME" "/var/lib/dokku/data/storage/$APP_NAME/volumes/minio:/minio_data"
dokku config:set --no-restart "$APP_NAME" \
MINIO_ACCESS_KEY="fill_the_access_key_here" \
MINIO_SECRET_KEY="fill_the_secret_key_here"
Then:
- Clone this repository
- (optional) Adjust the version in
Dockerfile
- Push to your dokku remote