@xenterprises/fastify-xstorage 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.env.example ADDED
@@ -0,0 +1,28 @@
1
+ # S3-Compatible Storage Configuration
2
+
3
+ # Digital Ocean Spaces
4
+ STORAGE_ENDPOINT=https://nyc3.digitaloceanspaces.com
5
+ STORAGE_REGION=us-east-1
6
+ STORAGE_ACCESS_KEY_ID=your_access_key
7
+ STORAGE_SECRET_ACCESS_KEY=your_secret_key
8
+ STORAGE_BUCKET=your-bucket-name
9
+ STORAGE_PUBLIC_URL=https://your-bucket-name.nyc3.digitaloceanspaces.com
10
+
11
+ # AWS S3
12
+ # STORAGE_ENDPOINT=
13
+ # STORAGE_REGION=us-east-1
14
+ # STORAGE_ACCESS_KEY_ID=your_access_key
15
+ # STORAGE_SECRET_ACCESS_KEY=your_secret_key
16
+ # STORAGE_BUCKET=your-bucket-name
17
+ # STORAGE_PUBLIC_URL=https://your-bucket-name.s3.us-east-1.amazonaws.com
18
+
19
+ # Cloudflare R2
20
+ # STORAGE_ENDPOINT=https://your-account-id.r2.cloudflarestorage.com
21
+ # STORAGE_REGION=auto
22
+ # STORAGE_ACCESS_KEY_ID=your_access_key
23
+ # STORAGE_SECRET_ACCESS_KEY=your_secret_key
24
+ # STORAGE_BUCKET=your-bucket-name
25
+ # STORAGE_PUBLIC_URL=https://your-custom-domain.com
26
+
27
+ # Server Configuration
28
+ PORT=3000