-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
22 lines (19 loc) · 1.1 KB
/
Copy path.env.example
File metadata and controls
22 lines (19 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Azure TTS 配置
AZURE_SPEECH_REGION=eastus
AZURE_SPEECH_KEY=your_azure_speech_key_here_64_characters_long_string_with_letters_and_numbers
# Cloudflare R2 配置 (使用 AWS S3 SDK,唯一快取後端)
CLOUDFLARE_ACCOUNT_ID=your_cloudflare_account_id_32_characters
CLOUDFLARE_R2_ACCESS_KEY_ID=your_r2_access_key_id_32_characters
CLOUDFLARE_R2_SECRET_ACCESS_KEY=your_r2_secret_access_key_64_characters_long
CLOUDFLARE_R2_BUCKET_NAME=your-tts-cache-bucket
CLOUDFLARE_R2_REGION=apac
# R2 公開 URL (用於讀取) - 使用 Custom Domain
CLOUDFLARE_R2_PUBLIC_URL=https://your-custom-domain.com
# 客戶端可存取的 R2 公開 URL (必須以 NEXT_PUBLIC_ 開頭)
NEXT_PUBLIC_CLOUDFLARE_R2_PUBLIC_URL=https://your-custom-domain.com
# 管理介面 (菜單編輯器 /admin/menu-editor)
# ADMIN_PASSWORD:登入密碼,未設會導致登入 API 回 500
ADMIN_PASSWORD=your_admin_login_password
# JWT_SECRET:簽發管理 token 的密鑰,務必設一段夠長的隨機字串
# 未設會 fallback 到原始碼公開預設值,任何人可偽造管理 token(見 docs/TODO.md)
JWT_SECRET=your_long_random_secret_string