Files
memory/server/.env.example
2025-12-14 20:33:33 +08:00

16 lines
448 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Server
SERVER_ADDR=:8080
DB_PATH=./data/memory.db
JWT_SECRET=your-secret-key-change-in-production
BASE_URL=http://192.168.0.100:8080
# 本地存储 (优先使用留空则使用R2)
LOCAL_UPLOAD_PATH=./uploads
# Cloudflare R2 (可选LOCAL_UPLOAD_PATH为空时使用)
R2_ACCOUNT_ID=your-account-id
R2_ACCESS_KEY_ID=your-access-key-id
R2_ACCESS_KEY_SECRET=your-access-key-secret
R2_BUCKET_NAME=memory
R2_PUBLIC_URL=https://your-bucket.r2.dev