Files
digital-psychology/apps/api/config.example.yaml
T
jackyu66gitandCursor 879bf70cb7
ci / h5 (push) Canceled after 0s
ci / api (push) Canceled after 0s
ci / ess-docs (push) Canceled after 0s
feat(ECR-006): 落地运营后台 Phase A(admin API + admin-h5)
新增独立鉴权的 /api/v1/admin 与 Vue 控制台;会员授予与审计同事务,并补集成/单测。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 18:35:53 +08:00

31 lines
642 B
YAML

# Copy to config.local.yaml and fill secrets.
# config.local.yaml is gitignored (*.local). Never commit real keys.
app:
env: dev
http_addr: ":8080"
database:
host: 127.0.0.1
port: 5432
user: yuxingu
password: yuxingu
name: yuxingu
sslmode: disable
deepseek:
api_key: "" # required for real Ask replies
base_url: "https://api.deepseek.com"
model: "deepseek-chat"
timeout_sec: 60
# Ops admin bootstrap (only seeds when admin_accounts is empty)
admin:
bootstrap_username: admin
bootstrap_password: "change-me" # override in config.local.yaml; never commit secrets
# jwt:
# secret: ""
# payment:
# mock: true