Apply correct policy on minio bucket
This commit is contained in:
parent
3f0ebece31
commit
9d42fbff44
|
@ -107,9 +107,9 @@ services:
|
||||||
entrypoint: >
|
entrypoint: >
|
||||||
/bin/sh -c "
|
/bin/sh -c "
|
||||||
/usr/bin/mc config host rm local;
|
/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 config host add --api s3v4 local http://minio:9000 MINIOACCESSKEY MINIOSECRETKEY;
|
||||||
/usr/bin/mc mb --quiet local/ckan/;
|
/usr/bin/mc mb local/ckan/;
|
||||||
/usr/bin/mc policy set public local/ckan;
|
/usr/bin/mc policy set download local/ckan/storage;
|
||||||
"
|
"
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
|
|
Loading…
Reference in New Issue