Code Monkey home page Code Monkey logo

minio-dokku's People

Contributors

mimischi avatar patoroco avatar rsmithlal avatar sheepyhollow avatar slypix avatar turicas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

minio-dokku's Issues

Setting Nginx headers to avoid invalid headers read errors and increase upload file size

Hi. Thanks for writing this plugin. I would like to point out a few additional settings that users might want to add in case they run into the following minio issue. The solution is to set the following configuration on nginx for your minio app: ignore_invalid_headers off;. Also in case one would like to increase the max file upload size (to 50mb for example) the following nginx configuration is needed: client_max_body_size 50m;. The way to add those settings to your app is specified in the dokku docs here.

Security Issue: Needs world write access to mounted storage

We just set up a minio instance using this dockerfile on our server. As stated in your documentation, we had to give write permission to everyone on the host system for the mounted storage volume.

This is a potential security issue as only dokku should be able to read/write files from this directory. We is this necessary?

Docker build step fails creating dokku user

Step 2/10 : RUN adduser -D -u 32769 -g dokku dokku
 ---> Running in d302ff953ce1
adduser: group 'dokku' does not exist
remote: The command '/bin/sh -c adduser -D -u 32769 -g dokku dokku' returned a non-zero code: 6
remote: 2021/02/21 18:39:00 exit status 6

I managed to get past this step by changing the line in step 2 to RUN adduser -u 32769 -m -U dokku but I'm not sure if this is going to break something else down the line. Any ideas?

When build fails

In case someone runs into the issue that their minio build is failing, you also need the storage to be mounted while build. Per default dokku storage:mount only works for deploy and run.

Mounting it while building needs to be done per docker-options:

dokku docker-options:add minio build "-v /var/lib/dokku/data/storage/minio:/home/dokku/data"

If nobody disagrees here, i woul'd add this to the Readme later.

Latest MinIO version broke this plugin

Recently I set up another dokku environment running MinIO, using this plugin.

Since MinIo released a new version - see https://github.com/minio/minio/releases/tag/RELEASE.2021-07-08T01-15-01Z - which replaces the "old" webUI with the MinIO console project, this repository / dokku prepared image does not work anymore.

Embedded MinIO Browser removed replaced with MinIO Console project https://github.com/minio/console, this is a breaking change

As a workaround I'm using an older version of MinIO until such fix is provided in the repo.

Persist config and policies?

I'm setting this up for the first time, so correct me if I'm wrong. The policy and minio config isn't persisted when using the setup in the readme, is it?

In minio's own Docker docs they map ~/.minio as a docker volume.

So maybe something like this should be added to the readme:

dokku storage:mount minio /var/lib/dokku/data/storage/minio/data:/home/dokku/data
dokku storage:mount minio /var/lib/dokku/data/storage/minio/config:/home/dokku/.minio

letsencrypt support

How would I get this to work with dokku letsencrypt. My hunch is it fails because it's on port 9000?

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.