topfans/docker/.env.prod
Lenticular Studio Agent a96c9cf04f feat:修复路径
2026-06-24 02:34:06 +08:00

54 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.

# ===================================================================
# TopFans Docker - Production Environment Variables
# ===================================================================
# IMPORTANT: Change all secrets before deploying to production
# Usage: docker-compose -f docker-compose.prod.yml --profile prod up -d
# ===================================================================
# Database
DB_PASSWORD=postgres123
# JWT Secret
JWT_SECRET=topfans-secret-key-please-change-in-production
# OSS Configuration
OSS_REGION=cn-shanghai
OSS_BUCKET_NAME=top-fans-test
OSS_STS_ROLE_ARN=acs:ram::1387642798143585:role/top-fans-oss-user
OSS_ACCESS_KEY_ID=LTAI5t99tafzfyrzbbEbjryH
OSS_ACCESS_KEY_SECRET=sBmrqG9owzi53hiV4dpE3EL2A5dn9b
OSS_AVATAR_DIR=avatar/
OSS_ASSET_DIR=asset/
OSS_TOKEN_EXPIRE_TIME=3600
# ==================== MiniMax API Configuration ====================
MINIMAX_API_KEY=sk-api-oezuuNMr5iwPdlJ1JgTJTSzhMhGtaUR5Odjjg0ZqVQ7MoMIqLuE_ginMWRkNiAiDgMY6MvTVkYCWSQ8SK1-LuldrFmohCHxCgZIbxsFYr9zxA8z08Eb8nbo
MINIMAX_API_URL=https://api.minimaxi.com/v1/image_generation
# Redis Configuration
REDIS_HOST=topfans-redis
REDIS_PORT=6379
REDIS_PASSWORD=123456
REDIS_DB=0
# ==================== 镭射卡生成器 ====================
# LASER_GEN_PROVIDER:
# openai (默认) - 后端走微达API中转站 /v1/images/edits (5 路并发 + 直接落 OSS)
# minimax - 后端直连 MiniMax
# dify - 调 Dify laser_card_variants_v1 工作流 (阻塞)
LASER_GEN_PROVIDER=openai
# ==================== 中转站 OpenAI 兼容 API微达API / XBCL====================
OPENAI_API_KEY=sk-eIOujD5rUugIRIPecFi3I2rFr6Bhxx1jsRzRm6phyNeeKrCI
OPENAI_BASE_URL=https://api.weda.cc/v1
OPENAI_MODEL=gpt-image-2
# ==================== SMS Configuration ====================
SMS_ACCESS_KEY_ID=LTAI5t6QcdJHpYbCPxM8SXYE
SMS_ACCESS_KEY_SECRET=ybvjSEb7wilMt3qT5nOppYPoNVayCD
SMS_SIGN_NAME=上海顶粉数字科技
SMS_TEMPLATE_CODE=SMS_314621237
SMS_REGION=cn-hangzhou