Giter VIP home page Giter VIP logo

dokku-minio's Introduction

Run Minio on Dokku

What is Minio

Minio is an object storage server, and API compatible with Amazon S3 cloud storage service. Read more at the minio.io website.

What is Dokku

The smallest PaaS implementation you've ever seen - Docker powered mini-Heroku Read more at the Dokku website

How to Setup

Requirements

Create the app

Log onto your Dokku Host to create the minio app

dokku apps:create minio

Set Environment Variables

minio uses an access key and secret key for login, and object management. You can set custom keys with Environment Variables. If the keys aren't set Minio 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

Create your Dockerfile

git clone https://github.com/OmgImAlexis/dokku-minio.git && cd dokku-minio

Add Dokku remote, and Deploy

git remote add dokku dokku@YOUR_DOKKU_HOST.com:minio
git push dokku master

Add Persistent/External Storage

su dokku
mkdir /home/dokku/minio/data
exit
dokku storage:mount minio /home/dokku/minio/data:/home/dokku/minio/data
dokku ps:restart minio

dokku-minio's People

Contributors

ealtaca avatar omgimalexis avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.