新增独立鉴权的 /api/v1/admin 与 Vue 控制台;会员授予与审计同事务,并补集成/单测。 Co-authored-by: Cursor <cursoragent@cursor.com>
31 lines
642 B
YAML
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
|