[#105] Add website container creation #105

Open
nzinkevich wants to merge 1 commit from nzinkevich/frostfs-dev-env:feature/website_container into master
2 changed files with 4 additions and 0 deletions

View file

@ -122,6 +122,9 @@ up/pre-services:
cid=`./vendor/frostfs-cli -c cli-cfg.yml container create -p "REP 4" --nns-name "mfa" --nns-zone "container" --await | grep CID | cut -d" " -f2` \
&& echo "MFA Container: $${cid}" \
&& ./vendor/frostfs-cli -c cli-cfg.yml ape-manager add --target-type container --target-name $${cid} --rule "allow Object.* *" || die "Failed to create MFA container"
cid=`./vendor/frostfs-cli -c cli-cfg.yml container create -p "REP 4" --nns-name "website" --nns-zone "container" --await | grep CID | cut -d" " -f2` \
&& echo "Website configuration Container: $${cid}" \
&& ./vendor/frostfs-cli -c cli-cfg.yml ape-manager add --target-type container --target-name $${cid} --rule "allow Object.* *" || die "Failed to create Website configuration container"
fi
@echo "Storage is prepared";

View file

@ -51,3 +51,4 @@ policy:
containers:
cors: cors.container
mfa: mfa.container
website: website.container