Apply correct policy on minio bucket

This commit is contained in:
Marko Bocevski 2020-09-11 12:53:25 +02:00
parent 3f0ebece31
commit 9d42fbff44
1 changed files with 3 additions and 3 deletions

View File

@ -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: