Skip to content

fix(*): change to docker-compose.yml

Dan Visel requested to merge minio-mc-breaking-change into main

Docker image minio/mc changed in the last week (see https://github.com/minio/mc/pull/4428) and the syntax of the command to attach users to a policy changed. In docker-compose.yml it was:

/usr/bin/mc admin policy set cokoServer/ readwrite user=${S3_ACCESS_KEY_ID:-nonRootUser};

it's now:

/usr/bin/mc admin policy attach cokoServer/ readwrite --user=${S3_ACCESS_KEY_ID:-nonRootUser};

Without this, if you installed fresh since last week, there's an error and the user isn't attached to the policy, so uploading doesn't work.

(Interesting, the syntax has already been fixed in .gitlab-ci.aperture.yml, .gitlab-ci.elife.yml, and .gitlab-ci.colife.yml.)

Merge request reports