mem0 faq: add security note about Swagger UI registration

This commit is contained in:
hermes-bot
2026-05-31 05:36:16 +00:00
parent 9159cdf83c
commit 21e3e33da9

View File

@@ -75,3 +75,9 @@ A: 可能网络问题。可以尝试:
- 使用断点续传:`curl -C - -L -o file.tar.gz URL`
- 使用国内镜像或代理
- 通过 Gitea 等国内 Git 服务托管
## Q: Swagger UI 可以随意注册用户,生产环境安全吗?
A: Mem0 注册接口有防重复机制——同一邮箱只能注册一次。首次部署时通过 Swagger UI 注册第一个用户后,生产环境建议:
- 通过 Ingress 网关屏蔽 `/docs` 路径,禁止外部访问 Swagger UI
- 或在 Ingress 层限制 `/docs` 只允许内网 IP 访问