High Performance, Kubernetes-Friendly Object Storage
This repository has been archived on 2020-06-17. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Luke Murphy b619d78154
Add custom nginx setup
2020-03-26 23:08:41 +01:00
ansible Fix formatting 2020-03-26 22:49:46 +01:00
sbin Bootstrap minio 2020-03-26 11:37:18 +01:00
.envrc.sample Bootstrap minio 2020-03-26 11:37:18 +01:00
CHECKS Bootstrap minio 2020-03-26 11:37:18 +01:00
Dockerfile Pass data dir 2020-03-26 12:04:19 +01:00
README.md Add custom nginx setup 2020-03-26 23:08:41 +01:00
app.json Bootstrap minio 2020-03-26 11:37:18 +01:00
nginx.conf.sigil Add custom nginx setup 2020-03-26 23:08:41 +01:00
requirements.txt Bootstrap minio 2020-03-26 11:37:18 +01:00

README.md

minio

https://min.io/

Setup

Pre-requisites

  1. You have SSH access to dokku.autonomic.zone
  2. You have sudo privilege escalation working
Host dokku.autonomic.zone
  Hostname dokku.autonomic.zone
  User <your-username>
  Port 222
  IdentityFile ~/.ssh/<your-ssh-key-private-file>

See the password-store under autonomic-dokku for your sudo password.

Environment

  1. Clone the infrastructure repository
  2. Copy the sample file: cp .envrc.sample .envrc
  3. Ensure that the .envrc PASSWORD_STORE_DIR env var points to the infrastructure/credentials/password-store

Python

You only need to do this if you're working with Ansible vault (encrypting/decrypting new secrets).

$ python3 -m venv .venv
$ source .venv/bin/activate
$ pip install -r requirements.txt

Deploy

$ git remote add dokku dokku@dokku.autonomic.zone:minio
$ git push dokku

Custom NGINX Configuration

In order to have closer control on the proxy between Minio and Nginx, we setup a nginx.conf.sigil which overrides the default Dokku based template and configures things such as maximum allowed file size.