halo-dev / halo

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

使用docker-compose迁移1.x到2.11.3版本,使用外部mysql,页面都正常,修改内容数据库搜索不到 #5201

Closed good2luck closed 8 months ago

good2luck commented 8 months ago

系统信息

使用的哪种方式运行?

Docker Compose

在线站点地址

No response

发生了什么?

1、拉取镜像 docker pull halohub/halo:2.11.3 地址:https://hub.docker.com/r/halohub/halo/tags 2、创建docker-compose.yaml文件:命名为halo-docker-compose.yaml `version: "3"

services: halo: image: halohub/halo:2.11.3 container_name: halo restart: on-failure:3 network_mode: "host" volumes:

问题:一切都正常,但数据库数据在哪?

相关日志输出

No response

附加信息

No response

JohnNiang commented 8 months ago

目前,Halo 就只有一张表,详情可参考:

/triage duplicate

good2luck commented 8 months ago

get, tks

JohnNiang commented 8 months ago

Close in favor of https://github.com/halo-dev/halo/issues/4388.

/close

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

@JohnNiang: Closing this issue.

In response to [this](https://github.com/halo-dev/halo/issues/5201#issuecomment-1896161720): >Close in favor of . > >/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.