0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-08 07:50:43 -05:00

🐛 Fix incorrect minio setup on devenv

This commit is contained in:
Andrey Antukh 2023-12-04 11:13:52 +01:00
parent f27343fcbd
commit 9335ebadb1
2 changed files with 2 additions and 2 deletions

View file

@ -47,7 +47,7 @@ export PENPOT_FLAGS="\
# Initialize MINIO config
mc alias set penpot-s3/ http://minio:9000 minioadmin minioadmin -q
mc admin user add penpot-s3 penpot-devenv penpot-devenv -q
mc admin policy list penpot-s3 | grep -F -q -x "readwrite"
mc admin user info penpot-s3 penpot-devenv |grep -F -q "readwrite"
if [ "$?" = "1" ]; then
mc admin policy attach penpot-s3 readwrite --user=penpot-devenv -q
fi

View file

@ -27,7 +27,7 @@ export PENPOT_FLAGS="\
# Initialize MINIO config
mc alias set penpot-s3/ http://minio:9000 minioadmin minioadmin -q
mc admin user add penpot-s3 penpot-devenv penpot-devenv -q
mc admin policy list penpot-s3 | grep -F -q -x "readwrite"
mc admin user info penpot-s3 penpot-devenv |grep -F -q "readwrite"
if [ "$?" = "1" ]; then
mc admin policy attach penpot-s3 readwrite --user=penpot-devenv -q
fi