-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: add halo on podman #256
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
第一次为halo做贡献,有什么不对的地方,请指出。 |
/cc @halo-dev/sig-docs |
@guqing: GitHub didn't allow me to request PR reviews from the following users: halo-dev/sig-docs. Note that only halo-dev members and repo collaborators can review this PR, and authors cannot review their own PRs. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Hi @wangxiaoerYah ,抱歉这个 PR 没有及时 Review,我们最近在忙 2.10.x 的功能,所以没有太多时间进行验证。我将重新打开,有时间之后会验证并合并。 /reopen |
@ruibaby: Reopened this PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
更新了podman文档中部分错误. |
按照要求更新了文档. |
/ping @halo-dev/sig-docs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @wangxiaoerYah ,可能还需要修改 https://github.com/halo-dev/docs/blob/main/sidebars.js 以保证在最新版的菜单中能显示对应的文档。
已修改,之前没有了解过docusaurus,所以修改有些繁琐了点.抱歉. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
@wangxiaoerYah 建议全局替换一下 |
抱歉,我看走眼了🤣🤣.我怎么没想到这居然是个正常网站. |
已更改. |
Hi @wangxiaoerYah and @ruibaby ,其实我更建议不在这里配置 external-url。后续更建议在配置文件中配置即可。这样用户在修改配置后只需要重启容器即可,而不是重建运行命令。 |
噢噢,看来我的理解有误了,我一直都将ext url放在里面.我以为这是正确的运行方式.😂😂😂 |
参数配置形式一般作为快速开始或者分享复现步骤的时候比较有用,生产环境还是建议用 |
其实我觉得应该直接写到数据库里,在第一次搭建时,最好有个类似于worldpress那种引导界面,让用户通过图形化配置. 但是正常访问时要严格验证域,防止盗链,只在管理界面不做验证. 这样还可以在nginx层将console管理界面强制定向到另一个网址.防止被恶意爆破. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ruibaby The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
后续可以考虑在 Console 配置外部访问链接,目前 external-url 的意义更多的是一个主域名(比如生成 sitemap 会需要域名来确定链接,邮件模板也需要这个域名来生成绝对地址),即便配置不正确也不会影响系统的访问。如果后续需要换域名,目前也只需要修改这个 external-url 参数并重建容器。 |
如果要改,建议在未来某个合适的时候一起修改。目前建议文档为主,是怎么样就是怎么样,给用户太多的配置选择反而会造成困扰,尤其是最终达到的效果都是一致的。 |
Hi @wangxiaoerYah ,现在之所以需要在配置文件中配置 |
噢噢,明白了. |
感谢 @wangxiaoerYah 参与贡献🌟 |
添加使用 Podman 部署Halo的方法.