Chore: Update storage to support s3 compatible services (#1082)
This change is to allow using s3 compatible services such as DigitalOcean spaces, Minio, etc Co-authored-by: petebytes <pete@apsion.com> Co-authored-by: Pranav Raj S <pranav@thoughtwoot.com>
This commit is contained in:
@@ -28,6 +28,15 @@ microsoft:
|
||||
storage_access_key: <%= ENV.fetch('AZURE_STORAGE_ACCESS_KEY', '') %>
|
||||
container: <%= ENV.fetch('AZURE_STORAGE_CONTAINER', '') %>
|
||||
|
||||
# s3 compatible service such as DigitalOcean Spaces, Minio.
|
||||
s3_compatible:
|
||||
service: S3
|
||||
access_key_id: <%= ENV.fetch('STORAGE_ACCESS_KEY_ID', '') %>
|
||||
secret_access_key: <%= ENV.fetch('STORAGE_SECRET_ACCESS_KEY', '') %>
|
||||
region: <%= ENV.fetch('STORAGE_REGION', '') %>
|
||||
bucket: <%= ENV.fetch('STORAGE_BUCKET_NAME', '') %>
|
||||
endpoint: <%= ENV.fetch('STORAGE_ENDPOINT', '') %>
|
||||
|
||||
# mirror:
|
||||
# service: Mirror
|
||||
# primary: local
|
||||
|
||||
Reference in New Issue
Block a user