Skip to content

Commit

Permalink
fix(gigascience#2): initial pass for Wasabi object storage
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienne committed Oct 30, 2023
1 parent e6b6478 commit c780886
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config/project/project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
7 changes: 4 additions & 3 deletions env.example.dev
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit c780886

Please sign in to comment.