Docs: document all SMTP_* and other undocumented env vars for self-hosting
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 82/100
- Issue 类型
- 文档
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- typescript
调研方向
先比较 .env.example 与 packages/backend/src/settings/email.service.ts、knowledge-graph/identifier.ts 以及 issue 中提到的其他位置读取的环境变量。然后,根据这些设置检查 docs/deployment.md。完成标准是:.env.example 中列出 SMTP 变量和其他五个未记录的变量,并注明其默认值或行为;部署指南中记录全部七个 SMTP 变量;误导性注释得到更正。
由索引模型根据 Issue 内容生成。
描述
Problem
When self-hosting, I couldn't find a complete list of environment variables:
.env.exampleL269 says the cloud jobs "mail through the SMTP_* settings above", but.env.exampledoesn't define anySMTP_*variables.packages/backend/src/settings/email.service.ts(L166–178) readsSMTP_HOST,SMTP_PORT(default 587),SMTP_USER,SMTP_PASS,SMTP_FROM,SMTP_SECUREandSMTP_REPLY_TO.docs/deployment.mdL427 lists only the first four.- These are read in code but not documented anywhere:
KG_HASH_SECRET(knowledge-graph/identifier.tsL122; falls back toENCRYPTION_KEY, thenJWT_SECRET, then a hardcoded 'anythingmcp-kg-dev-secret'),KG_MCP_TOOL(off disables it),KG_OBSERVE_COOLDOWN_SEC(default 45),SHUTDOWN_TIMEOUT_MS(default 20000),SENTRY_MCP_TRACES_SAMPLE_RATE(default: base rate / 5).
Proposed Solution
Add a commented SMTP block (plus the variables above) to .env.example, and list all seven SMTP variables in docs/deployment.md. I'm happy to send a PR.
Alternatives Considered
At minimum, reword the L269 comment so it doesn't refer to settings "above".
Area
Documentation
Additional Context
No response
- 主要语言
- TypeScript
- 星标
- 856
- 派生
- 82
- 平均合并
- 6 小时 15 分钟
- 30 天内合并 PR
- 141
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
HelpCode-ai/anythingmcp 的其他 Issue
-
good first issue hacktoberfest
难度 2/5 半天 新手友好度 70/100
HelpCode-ai/anythingmcp#996 ·
维护者通常 1 天内回复
-
good first issue hacktoberfest
难度 2/5 半天 新手友好度 72/100
HelpCode-ai/anythingmcp#995 ·
维护者通常 1 天内回复
-
enhancement good first issue hacktoberfest help wanted
难度 2/5 1-3 小时 新手友好度 78/100
HelpCode-ai/anythingmcp#982 ·
维护者通常 1 天内回复
-
good first issue hacktoberfest
难度 2/5 1-3 小时 新手友好度 88/100
HelpCode-ai/anythingmcp#745 ·
维护者通常 1 天内回复
-
🐣 Good first issue: contribute a new MCP adapter可能重新可做 @7k777 于 22 天前认领,目前没有进行中的 PR。 未关闭enhancement good first issue hacktoberfest help wanted
难度 2/5 1-3 小时 新手友好度 85/100
HelpCode-ai/anythingmcp#150 · 18 条评论 ·
维护者通常 1 天内回复
查看 HelpCode-ai/anythingmcp 的全部 Issue
相似的 Issue
-
priority:high
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
immich-app/immich#32426 ·
维护者通常 1 天内回复
-
documentation good first issue hacktoberfest help wanted
难度 2/5 1-3 小时 新手友好度 78/100
libredb/libredb-studio#1756 ·
维护者通常 1 天内回复
-
state:triage-needed
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复