Files
life-echo/api/.env.staging
Sully 53e0065e3e refactor(api): TOML 配置 SSOT、统一错误契约、Auth/事务加固与可观测性 (#33)
配置 SSOT(TOML + .env)
统一错误契约
Auth 与事务边界
Redis / Celery 可靠性:业务 Redis(DB/0)与 Celery broker/backend(DB/1)显式拆分;连接池、sync client
可观测性(OpenTelemetry + LGTM)
2026-05-22 13:44:50 +08:00

32 lines
1.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.
# Life Echo API — staging secrets运行时 .env
# 非密钥项见 config/staging.toml
LIFE_ECHO_API_HOST_BIND=0.0.0.0
LIFE_ECHO_API_HOST_PORT=8000
POSTGRES_HOST_PORT=15432
APP_ENV=staging
DATABASE_URL=postgresql://postgres:postgres@postgres:5432/life_echo
# Redis业务 DB/0Celery 自动 DB/1compose redis 使用 REDIS_PASSWORD 作为 requirepass
REDIS_URL=redis://redis:6379/0
REDIS_PASSWORD=replace_with_strong_redis_password
# CELERY_REDIS_URL=redis://:replace_with_strong_redis_password@redis:6379/1
FLOWER_USER=admin
FLOWER_PASSWORD=replace_with_strong_flower_password
SECRET_KEY=cf47555c7ecbe5ddb7fd2113c59e08a8bcb110810c42f7c644e06a5acc898608
DEEPSEEK_API_KEY=sk-09f17fb61c5a4299a3afc2a01de7af75
ZHIPU_API_KEY=524eda18eb3848e881eefe4c7ef17ec2.xBmGUabYDEa44m3M
TENCENT_SECRET_ID=AKIDa2ILCwUr56uVt31oU0JOHxPfGhvvkLiq
TENCENT_SECRET_KEY=xiFbjlZ9XheS2NWYLvHRPAh2A5nGYcR2
WECHAT_PAY_API_V3_KEY=xjvGSJLGJAJfjgskfjslafjsajsdjals
LIBLIB_ACCESS_KEY=zrDp6quCOKlLwcewOEfrog
LIBLIB_SECRET_KEY=iTVHo5Nf3KA-xpC1Mja80bC93u6chJem
INTERNAL_EVAL_API_KEY=