topfans/docker/.env.prod

53 lines
2.0 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-cp-Fffv8Bg8zeFD929_KUAZq9EKet64Nkxgu7t1ibZEngqmyPKaOOa7U8U_gtg3VICfUQyGPn8c5XR4hxmWzjKC4wO6DxKh5ipN36Yv5jsFzZWMEPh6NKV2qAE
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
# ==================== Dify Workflow (laser_card_v1) ====================
# 注意:当前 laser 卡生成走的是 gateway 内的 MiniMax 直接调用(不是 Dify
# 这两个变量仅为 Dify 工作流调用保留,目前未使用
DIFY_API_BASE=https://api.dify.ai/v1
DIFY_API_KEY=
# ==================== Laser Card ====================
# 镭射卡 6 层合成服务gateway 通过容器名 + 端口访问)
LASER_COMPOSITOR_URL=http://lasercompositor:7002
COMPOSITOR_PORT=7002
# 抠图服务:imageseg=阿里云 SegmentHDBody / ivpd=IVPD SegmentImage / auto=自部署HTTP→imageseg→IVPD
SEGMENT_PROVIDER=imageseg
# ==================== SMS Configuration ====================
SMS_ACCESS_KEY_ID=LTAI5t6QcdJHpYbCPxM8SXYE
SMS_ACCESS_KEY_SECRET=ybvjSEb7wilMt3qT5nOppYPoNVayCD
SMS_SIGN_NAME=上海顶粉数字科技
SMS_TEMPLATE_CODE=SMS_314621237
SMS_REGION=cn-hangzhou