feat: enhance storage options and introduce read-only mode
Added extensive configuration support for storage adapters, including S3-compatible storage (R2, Amazon S3, Google Cloud Storage). Introduced environment variable fallback for seamless cloud integration. Updated createStorage logic for improved compatibility. Implemented read-only mode to restrict write operations and provide a safer database configuration.
This commit is contained in:
parent
a774bb0f82
commit
811bbbdbfd
3 changed files with 1326 additions and 31 deletions
1037
src/storage/s3CompatibleStorage.ts
Normal file
1037
src/storage/s3CompatibleStorage.ts
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue