halo-dev / halo

强大易用的开源建站工具。
https://www.halo.run
GNU General Public License v3.0
33.24k stars 9.59k forks source link

通过Docker Compose 部署无法自定义后台路径 #5152

Closed 52lemon6 closed 8 months ago

52lemon6 commented 8 months ago

系统信息

使用的哪种方式运行?

Docker Compose

在线站点地址

No response

发生了什么?

通过Docker Compose 部署无法自定义后台路径,尝试在docker-compose.yaml文件中加admin-path: admin但是up的时候提示services.halo Additional property admin_path is not allowed根据https://docs.halo.run/getting-started/config/#%E5%90%8E%E5%8F%B0%E8%B7%AF%E5%BE%84文档中所述修改application.yaml文件但是貌似Docker Compose部署的halo持久化的目录下并没有application.yaml文件,论坛中https://bbs.halo.run/d/2216-%E5%90%8E%E5%8F%B0%E7%AE%A1%E7%90%86%E8%B7%AF%E5%BE%84%E8%83%BD%E5%90%A6%E9%85%8D%E7%BD%AE/3所说使用 HALO_ADMIN_PATH 环境变量,参考:https://docs.halo.run/getting-started/install/other/docker-compose 其中的参考链接也已失效,无法打开

相关日志输出

No response

附加信息

No response

ruibaby commented 8 months ago

Halo 2 不支持修改控制台的访问地址,1.x 旧的文档已经在 docs.halo.run 中被删除,1.x 文档可以查阅:https://v1.legacy-docs.halo.run/

使用 Halo 2 请以最新的文档为准,论坛中的评论很可能已过时。

JohnNiang commented 8 months ago

/triage unresolved /remove-kind support

/close

f2c-ci-robot[bot] commented 8 months ago

@JohnNiang: Closing this issue.

In response to [this](https://github.com/halo-dev/halo/issues/5152#issuecomment-1894892021): >/triage unresolved >/remove-kind support > >/close Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.