mirror of
https://github.com/RhenCloud/Cloud-Index.git
synced 2025-12-06 15:26:10 +08:00
chore: sanitize .env.example (remove secrets)
This commit is contained in:
11
.env.example
11
.env.example
@@ -8,15 +8,16 @@
|
|||||||
STORAGE_TYPE=r2
|
STORAGE_TYPE=r2
|
||||||
|
|
||||||
# ==================== Cloudflare R2 配置 ====================
|
# ==================== Cloudflare R2 配置 ====================
|
||||||
# R2 访问凭证
|
# R2 访问凭证(请在部署或本地 .env 中填写真实值,禁止将真实凭证提交到仓库)
|
||||||
ACCESS_KEY_ID=7bd97fe81b9b0f7cd68a745a4eb3f19f
|
# 示例占位符:
|
||||||
SECRET_ACCESS_KEY=dbb41f793f3ae8ae90fb60342ca09716596df3cc6c42d602215c550d3579b3f8
|
ACCESS_KEY_ID=YOUR_R2_ACCESS_KEY_ID
|
||||||
|
SECRET_ACCESS_KEY=YOUR_R2_SECRET_ACCESS_KEY
|
||||||
|
|
||||||
# R2 存储桶名称
|
# R2 存储桶名称
|
||||||
R2_BUCKET_NAME=drive
|
R2_BUCKET_NAME=drive
|
||||||
|
|
||||||
# R2 Endpoint URL
|
# R2 Endpoint URL(替换为你的账户 endpoint,例如:https://<account-id>.r2.cloudflarestorage.com)
|
||||||
R2_ENDPOINT_URL=https://731b927733dccabbd9210b33c3ee513e.r2.cloudflarestorage.com
|
R2_ENDPOINT_URL=https://<your-account-id>.r2.cloudflarestorage.com
|
||||||
|
|
||||||
# R2 区域 (默认: auto)
|
# R2 区域 (默认: auto)
|
||||||
R2_REGION=auto
|
R2_REGION=auto
|
||||||
|
|||||||
Reference in New Issue
Block a user