0.0.17 • Published 1 year ago

ramirogm-pinejs-s3-storage v0.0.17

Weekly downloads
-
License
BSD
Repository
github
Last release
1 year ago

pinejs-s3-storage

˜S3StorageAdapter` is an implementation of a PineJS WebResource storage adapter that saves objects to Amazon S3 or a compatible service like minio

The configuration is specified as environment variables

ENV varDefault ValueDescription
S3_STORAGE_ADAPTER_REGIONus-east-1
S3_STORAGE_ADAPTER_BUCKETbalena-pine-web-resources
S3_ACCESS_KEYno default
S3_SECRET_KEYno default
S3_ENDPOINTno defaultThe fully qualified endpoint of the webservice. This is only required when using a custom endpoint (for example, when using a local version of S3
S3_UPLOAD_QUEUE_SIZE6How many parts to upload in parallel
S3_UPLOAD_PART_SIZE100MBSize of each part, min 5MB

Applications need to load the ˜S3StorageAdapter in the storageRegistry(./src/storage-adapters/index.ts#L4), which can be done by calling initS3Storage()

0.0.17

1 year ago

0.0.16

1 year ago

0.0.15

1 year ago

0.0.14

1 year ago

0.0.13

1 year ago

0.0.12

1 year ago

0.0.11

1 year ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago