From 379cf485aef9aa2d767782a40ecd061cf1d80d4c Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Sat, 15 Jul 2023 00:07:36 +0800 Subject: [PATCH] docs: append Troubleshooting --- website/docs/deployment/troubleshooting.md | 22 +++++++++++++++++++ .../current/deployment/troubleshooting.md | 22 +++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/website/docs/deployment/troubleshooting.md b/website/docs/deployment/troubleshooting.md index f20c463c..ae357884 100644 --- a/website/docs/deployment/troubleshooting.md +++ b/website/docs/deployment/troubleshooting.md @@ -3,6 +3,28 @@ sidebar_position: 50 title: Troubleshooting --- +## Deployment related + +### How to update the version? + +It is the same as getting the image when deploying + +```bash +docker pull moonrailgun/tailchat +docker tag moonrailgun/tailchat tailchat +``` + +Then restart the application, such as `docker compose up -d` + +### How to use the specified version? + +```bash +docker pull moonrailgun/tailchat:1.8.4 +docker tag moonrailgun/tailchat:1.8.4 tailchat +``` + +Just specify the version number when pulling the image + ## Server related ### The Websocket connection access is incorrect, the manifestation is that it can be registered but the main interface cannot be opened diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/deployment/troubleshooting.md b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/deployment/troubleshooting.md index b7214ab8..7aaab54f 100644 --- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/deployment/troubleshooting.md +++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/deployment/troubleshooting.md @@ -3,6 +3,28 @@ sidebar_position: 50 title: 常见问题 --- +## 部署相关 + +### 如何更新版本? + +和部署时获取镜像一样 + +```bash +docker pull moonrailgun/tailchat +docker tag moonrailgun/tailchat tailchat +``` + +然后重启应用即可, 如 `docker compose up -d` + +### 如何使用指定版本? + +```bash +docker pull moonrailgun/tailchat:1.8.4 +docker tag moonrailgun/tailchat:1.8.4 tailchat +``` + +在拉取镜像的时候指定版本号即可 + ## 服务端相关 ### Websocket 连接访问不正确,表现形式是可以注册但是无法打开主界面