From d516c7126611333fae0480e9b4b8631fa741ddf1 Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Thu, 7 Jul 2022 17:30:14 +0800 Subject: [PATCH] docs: update documentations for Halo 1.5.4 (#81) Signed-off-by: Ryan Wang --- docs/getting-started/install/docker.md | 4 ++-- docs/getting-started/install/linux.md | 2 +- docs/getting-started/install/other/docker-compose.md | 8 ++++---- docs/getting-started/install/other/docker-mysql.md | 6 +++--- docs/getting-started/upgrade.md | 8 ++++---- docs/intro.md | 4 ++-- 6 files changed, 16 insertions(+), 16 deletions(-) diff --git a/docs/getting-started/install/docker.md b/docs/getting-started/install/docker.md index a827d68..27babdd 100644 --- a/docs/getting-started/install/docker.md +++ b/docs/getting-started/install/docker.md @@ -32,7 +32,7 @@ vim application.yaml 4. 拉取最新的 Halo 镜像 ```bash -docker pull halohub/halo:1.5.3 +docker pull halohub/halo:1.5.4 ``` :::info @@ -42,7 +42,7 @@ docker pull halohub/halo:1.5.3 5. 创建容器 ```bash -docker run -it -d --name halo -p 8090:8090 -v ~/.halo:/root/.halo --restart=unless-stopped halohub/halo:1.5.3 +docker run -it -d --name halo -p 8090:8090 -v ~/.halo:/root/.halo --restart=unless-stopped halohub/halo:1.5.4 ``` :::info diff --git a/docs/getting-started/install/linux.md b/docs/getting-started/install/linux.md index ec00586..bc99751 100644 --- a/docs/getting-started/install/linux.md +++ b/docs/getting-started/install/linux.md @@ -94,7 +94,7 @@ mkdir ~/app && cd ~/app 3. 下载运行包 ```bash -wget https://dl.halo.run/release/halo-1.5.3.jar -O halo.jar +wget https://dl.halo.run/release/halo-1.5.4.jar -O halo.jar ``` :::info diff --git a/docs/getting-started/install/other/docker-compose.md b/docs/getting-started/install/other/docker-compose.md index 2b46b73..dd466e6 100644 --- a/docs/getting-started/install/other/docker-compose.md +++ b/docs/getting-started/install/other/docker-compose.md @@ -34,7 +34,7 @@ description: 使用 Docker Compose 部署 Halo services: halo: - image: halohub/halo:1.5.3 + image: halohub/halo:1.5.4 container_name: halo restart: on-failure:3 volumes: @@ -64,7 +64,7 @@ description: 使用 Docker Compose 部署 Halo services: halo_server: - image: halohub/halo:1.5.3 + image: halohub/halo:1.5.4 container_name: halo_server restart: on-failure:3 depends_on: @@ -118,7 +118,7 @@ description: 使用 Docker Compose 部署 Halo services: halo_server: - image: halohub/halo:1.5.3 + image: halohub/halo:1.5.4 container_name: halo_server restart: on-failure:3 depends_on: @@ -291,7 +291,7 @@ reverse_proxy 127.0.0.1:8090 ```yaml {3} services: halo_server: - image: halohub/halo:1.5.3 + image: halohub/halo:1.5.4 container_name: halo_server ``` diff --git a/docs/getting-started/install/other/docker-mysql.md b/docs/getting-started/install/other/docker-mysql.md index fe4027c..606da69 100644 --- a/docs/getting-started/install/other/docker-mysql.md +++ b/docs/getting-started/install/other/docker-mysql.md @@ -122,7 +122,7 @@ spring: 8. 创建 Halo 容器实例 ```shell -docker run -it -d --name halo -p 8090:8090 -v ~/.halo:/root/.halo --net halo-net --restart=unless-stopped halohub/halo:1.5.3 +docker run -it -d --name halo -p 8090:8090 -v ~/.halo:/root/.halo --net halo-net --restart=unless-stopped halohub/halo:1.5.4 ``` 9. 打开 `http://ip:端口号` 即可看到安装引导界面。 @@ -176,7 +176,7 @@ spring: 6. 创建 `Halo` 容器实例,并使用 `--net` 指定网络为刚才创建的`halo-net` ```shell -docker run -it -d --name halo -p 8090:8090 -v ~/.halo:/root/.halo --net halo-net --restart=unless-stopped halohub/halo:1.5.3 +docker run -it -d --name halo -p 8090:8090 -v ~/.halo:/root/.halo --net halo-net --restart=unless-stopped halohub/halo:1.5.4 ``` ### MySQL 在宿主机如何通过 Docker 安装 Halo @@ -198,5 +198,5 @@ wget https://dl.halo.run/config/application-template.yaml -O ./application.yaml 3. 使用 `Docker` 启动 `Halo` 实例并指定网络模式为 `host` ```shell -docker run -it -d --name halo -p 8090:8090 -v ~/.halo:/root/.halo --net host --restart=unless-stopped halohub/halo:1.5.3 +docker run -it -d --name halo -p 8090:8090 -v ~/.halo:/root/.halo --net host --restart=unless-stopped halohub/halo:1.5.4 ``` diff --git a/docs/getting-started/upgrade.md b/docs/getting-started/upgrade.md index 065ece9..395de28 100644 --- a/docs/getting-started/upgrade.md +++ b/docs/getting-started/upgrade.md @@ -3,7 +3,7 @@ title: 版本升级 description: 版本升级指南 --- -当前最新版本为:1.5.3。在更新之前建议先查阅变更日志: +当前最新版本为:1.5.4。在更新之前建议先查阅变更日志: ## Linux @@ -38,7 +38,7 @@ rm -rf ~/.halo/.leveldb 4. 下载最新版本的运行包 ```bash -cd ~/app && wget https://dl.halo.run/release/halo-1.5.3.jar -O halo.jar +cd ~/app && wget https://dl.halo.run/release/halo-1.5.4.jar -O halo.jar ``` :::info @@ -98,7 +98,7 @@ rm -rf ~/.halo/.leveldb 4. 拉取最新的 Halo 镜像 ```bash -docker pull halohub/halo:1.5.3 +docker pull halohub/halo:1.5.4 ``` :::info @@ -108,7 +108,7 @@ docker pull halohub/halo:1.5.3 5. 创建容器 ```bash -docker run -it -d --name halo -p 8090:8090 -v ~/.halo:/root/.halo --restart=unless-stopped halohub/halo:1.5.3 +docker run -it -d --name halo -p 8090:8090 -v ~/.halo:/root/.halo --restart=unless-stopped halohub/halo:1.5.4 ``` - **-it:** 开启输入功能并连接伪终端 diff --git a/docs/intro.md b/docs/intro.md index 4fa5e01..209bf05 100644 --- a/docs/intro.md +++ b/docs/intro.md @@ -38,7 +38,7 @@ slug: / 下载最新的 Halo 运行包: ```bash -curl -L https://github.com/halo-dev/halo/releases/download/v1.5.3/halo-1.5.3.jar --output halo.jar +curl -L https://github.com/halo-dev/halo/releases/download/v1.5.4/halo-1.5.4.jar --output halo.jar ``` 其他地址: @@ -50,7 +50,7 @@ java -jar halo.jar ### Docker ```bash -docker run -it -d --name halo -p 8090:8090 -v ~/.halo:/root/.halo --restart=always halohub/halo:1.5.3 +docker run -it -d --name halo -p 8090:8090 -v ~/.halo:/root/.halo --restart=always halohub/halo:1.5.4 ``` 详细部署文档请查阅: