diff --git a/config/project/project.yaml b/config/project/project.yaml index f9788af..eaaac17 100644 --- a/config/project/project.yaml +++ b/config/project/project.yaml @@ -20,7 +20,7 @@ fs: region: $OBJECT_STORAGE_REGION secret: $OBJECT_STORAGE_SECRET_KEY storageClass: '' - subfolder: '' + subfolder: $OBJECT_STORAGE_SUBPATH type: craft\awss3\Fs url: $OBJECT_STORAGE_ENDPOINT meta: diff --git a/env.example.dev b/env.example.dev index b4c5c2d..e17cbb8 100644 --- a/env.example.dev +++ b/env.example.dev @@ -27,9 +27,10 @@ DISALLOW_ROBOTS=true PRIMARY_SITE_URL=http://gigadb.host -OBJECT_STORAGE_ENDPOINT="https://xxx" -OBJECT_STORAGE_BUCKET="xxx" +OBJECT_STORAGE_ENDPOINT="https://s3.ap-northeast-1.wasabisys.com/" +OBJECT_STORAGE_BUCKET="cms-assets" OBJECT_STORAGE_KEY="xxx" OBJECT_STORAGE_SECRET_KEY="xxx" OBJECT_STORAGE_REGION="xxx" - +OBJECT_STORAGE_REGION="ap-northeast-1" +OBJECT_STORAGE_SUBPATH="/dev"