From b98b710222cf324e25a00f3fcb464b209b7c06d4 Mon Sep 17 00:00:00 2001 From: yiling Date: Mon, 6 Jul 2026 11:22:32 +0800 Subject: [PATCH] update doc --- docs/getting-started/s3-storage.mdx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/docs/getting-started/s3-storage.mdx b/docs/getting-started/s3-storage.mdx index b3c66762..4f75b7b3 100644 --- a/docs/getting-started/s3-storage.mdx +++ b/docs/getting-started/s3-storage.mdx @@ -17,7 +17,7 @@ To enable S3-compatible storage, update the following environment variables in y | :------------------------- | :------------------------------------------------------------------------ | :------- | :---------------------------------------- | | `STORAGE_BACKEND` | Set to `s3` to enable S3 compatible storage. | Yes | `s3` | | `S3_BUCKET` | The name of the S3 bucket where files will be stored. | Yes | `shumai-bucket` | -| `S3_REGION` | The region of your S3 bucket. | Yes | `us-east-1` (or `auto` for Cloudflare R2) | +| `S3_REGION` | The region of your S3 bucket. | No | `auto` | | `S3_ACCESS_KEY_ID` | The access key ID for your storage service. | Yes | `your-access-key-id` | | `S3_SECRET_ACCESS_KEY` | The secret access key for your storage service. | Yes | `your-secret-access-key` | | `AWS_ENDPOINT_URL_S3` | The endpoint URL of your S3 compatible storage provider. | Yes | `https://s3.us-east-1.amazonaws.com` | @@ -48,7 +48,6 @@ Cloudflare R2 requires your Cloudflare account ID to construct the endpoint URL. ```env STORAGE_BACKEND=s3 S3_BUCKET=your-shumai-bucket -S3_REGION=auto S3_ACCESS_KEY_ID=your-r2-access-key-id S3_SECRET_ACCESS_KEY=your-r2-secret-access-key AWS_ENDPOINT_URL_S3=https://.r2.cloudflarestorage.com @@ -61,11 +60,9 @@ For local development or self-hosted environments using MinIO, set the endpoint ```env STORAGE_BACKEND=s3 S3_BUCKET=shumai -S3_REGION=us-east-1 S3_ACCESS_KEY_ID=minioadmin S3_SECRET_ACCESS_KEY=minioadmin AWS_ENDPOINT_URL_S3=http://localhost:9000 -S3_USE_SSL=false ``` ### Google Cloud Storage (GCS) @@ -75,7 +72,6 @@ Google Cloud Storage provides an S3-compatible XML API. Configure your HMAC cred ```env STORAGE_BACKEND=s3 S3_BUCKET=your-gcs-bucket -S3_REGION=us-east-1 S3_ACCESS_KEY_ID=GOOG1EXAMPLETOCKENKEY S3_SECRET_ACCESS_KEY=your-gcs-hmac-secret-access-key AWS_ENDPOINT_URL_S3=https://storage.googleapis.com @@ -88,7 +84,6 @@ For DigitalOcean Spaces, set the endpoint URL to match your space's region: ```env STORAGE_BACKEND=s3 S3_BUCKET=your-spaces-bucket -S3_REGION=nyc3 S3_ACCESS_KEY_ID=your-spaces-access-key-id S3_SECRET_ACCESS_KEY=your-spaces-secret-access-key AWS_ENDPOINT_URL_S3=https://nyc3.digitaloceanspaces.com