muse-agent-example/部署/应用.example.toml

32 lines
1.0 KiB
TOML
Raw Permalink 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.

# 数据库和作者口令分别由受控文件挂载,配置中不写凭据值。
["数据库"]
"取值方式" = "受控存储"
"位置" = "/run/secrets/muse_db"
# 可选:连接池参数显式覆盖;未声明时按用途取默认(生产 4、评测 2,等待 2.0 秒)。
# 仅调优当次部署的借还行为,不改变数据库目标身份。
# ["数据库"."连接池"]
# "最大连接" = 8
# "等待秒" = 2.0
["运行"]
"用途" = "production"
["资源"]
# 构建发布时替换为具体的资源构建身份,固定标签不能用于运行配置。
"发布身份" = "<固定资源构建身份>"
["HTTP"]
"口令文件" = "/run/secrets/muse_author"
"作者ID" = "author-local"
"监听地址" = "0.0.0.0"
"端口" = 8080
"公开地址" = "http://127.0.0.1:18080"
"允许来源" = ["http://127.0.0.1:18080"]
["文件"]
"原文暂存" = "/var/lib/muse/raw"
"探索草稿" = "/var/lib/muse/drafts"
# 可选:由维护者将完整备份放入持久卷,再开放核对与下载。
# "备份目录" = "/var/lib/muse/backups"