gbmake-payload/.env.example

29 lines
863 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.

# Database
DATABASE_URL=postgresql://user:password@localhost:5432/database
# Payload
PAYLOAD_SECRET=YOUR_SECRET_HERE
# Onebound API淘宝商品数据https://open.onebound.cn
ONEBOUND_API_KEY=your-onebound-key
ONEBOUND_API_SECRET=your-onebound-secret
# Redis Configuration
REDIS_URL=redis://localhost:6379
# API Keys (统一使用 PAYLOAD_API_KEY)
PAYLOAD_API_KEY=your-payload-api-key-here
# Medusa 配置
MEDUSA_BACKEND_URL=http://localhost:9000
NEXT_PUBLIC_MEDUSA_PUBLISHABLE_KEY=your-publishable-key-here
PAYLOAD_API_KEY=your-payload-api-key-here
# Cloudflare R2 配置
CLOUDFLARE_R2_BUCKET=your-bucket
CLOUDFLARE_R2_ACCESS_KEY_ID=your-access-key
CLOUDFLARE_R2_SECRET_ACCESS_KEY=your-secret-key
CLOUDFLARE_R2_REGION=auto
CLOUDFLARE_R2_ENDPOINT=https://your-account-id.r2.cloudflarestorage.com
CLOUDFLARE_R2_PUBLIC_URL=https://your-public-domain.com