S3 Uploads Configuration for Storj
This plugin is designed to work with Storj. You need configure it via environment variables in file index.js
as shown below.
Variables:
AWS_ACCESS_KEY_ID="your access key"
AWS_SECRET_ACCESS_KEY="your secret access key"
S3_ACCESS_GRANT="your access grant key"
S3_ENDPOINT="gateway.storjshare.io"
S3_UPLOADS_BUCKET="your bucket name"
S3_UPLOADS_HOST="gateway.storjshare.io"
S3_ALIAS_HOST="link.storjshare.io/raw"
File URL is formed as follows: https://ALIASHOST/ACCESSGRANT/BUCKET/files/image.png
If you need help, create an issue on Github
This plugin was creates on based a plugin NodeBB S3 Uploads Plugin.