lovart3/.env.example
Your Name 353c3d04ff
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
feat: add billing center and stripe portal management
2026-02-12 12:49:03 +08:00

56 lines
1.9 KiB
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.

# Generate a random secret: https://generate-secret.vercel.app/32 or `openssl rand -base64 32`
AUTH_SECRET=****
# The following keys below are automatically created and
# added to your environment when you deploy on Vercel
# Instructions to create an AI Gateway API key here: https://vercel.com/ai-gateway
# API key required for non-Vercel deployments
# For Vercel deployments, OIDC tokens are used automatically
# https://vercel.com/ai-gateway
AI_GATEWAY_API_KEY=****
# Instructions to create a Vercel Blob Store here: https://vercel.com/docs/vercel-blob
BLOB_READ_WRITE_TOKEN=****
# Instructions to create a PostgreSQL database here: https://vercel.com/docs/postgres
POSTGRES_URL=****
# Instructions to create a Redis store here:
# https://vercel.com/docs/redis
REDIS_URL=****
# DashScope / 通义千问配置
# 请求地址(阿里云 DashScope OpenAI 兼容接口)
DASHSCOPE_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1
# API Key(请在本地 .env.local 和 服务器环境中填写真实值,不要把真实 Key 提交到代码仓库)
DASHSCOPE_API_KEY=your-dashscope-api-key
# 第三方 GPT5 提供方配置(OpenAI 兼容接口)
# API 基础地址(例如:https://api.huandutech.com)
GTP5_API_URL=https://api.huandutech.com
# API Key(请在本地 .env.local 和 服务器环境中填写真实值,不要把真实 Key 提交到代码仓库)
GTP5_API_KEY=your-gtp5-api-key
# 模型名称(例如:gpt-5-nano)
GTP5_MODEL=gpt-5-nano
# Stripe 订阅支付配置
# 后端服务端密钥(sk_live / sk_test)
STRIPE_SECRET_KEY=sk_test_xxx
# Stripe Webhook 签名密钥(whsec_...)
STRIPE_WEBHOOK_SECRET=whsec_xxx
# Stripe Billing Portal 返回地址(可选)
STRIPE_BILLING_RETURN_URL=https://your-domain.com/billing
# 不同套餐对应的 Stripe Price ID
STRIPE_PRICE_ID_BASIC=price_xxx_basic
STRIPE_PRICE_ID_PRO=price_xxx_pro
STRIPE_PRICE_ID_ULTIMATE=price_xxx_ultimate