minio-dokku icon indicating copy to clipboard operation
minio-dokku copied to clipboard

When build fails

Open Padrio opened this issue 5 years ago • 1 comments

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.

Padrio avatar May 23 '19 10:05 Padrio

Thanks Padrio! Could you elaborate more on the problem? Does this error occur even when you define the mount before the first push (as described in the current README)?

mimischi avatar May 23 '19 17:05 mimischi