From 9d42fbff449af7b02cffd2390c594ff774a59016 Mon Sep 17 00:00:00 2001 From: Marko Bocevski Date: Fri, 11 Sep 2020 12:53:25 +0200 Subject: [PATCH] Apply correct policy on minio bucket --- examples/s3filestore/docker-compose.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/s3filestore/docker-compose.yml b/examples/s3filestore/docker-compose.yml index db64929..d195fbb 100644 --- a/examples/s3filestore/docker-compose.yml +++ b/examples/s3filestore/docker-compose.yml @@ -107,9 +107,9 @@ services: entrypoint: > /bin/sh -c " /usr/bin/mc config host rm local; - /usr/bin/mc config host add --quiet --api s3v4 local http://minio:9000 minio ckan123; - /usr/bin/mc mb --quiet local/ckan/; - /usr/bin/mc policy set public local/ckan; + /usr/bin/mc config host add --api s3v4 local http://minio:9000 MINIOACCESSKEY MINIOSECRETKEY; + /usr/bin/mc mb local/ckan/; + /usr/bin/mc policy set download local/ckan/storage; " networks: