From 878a4660464dd9f8ed27392f0992b99587d37a4c Mon Sep 17 00:00:00 2001 From: jlugjb Date: Wed, 14 Jan 2026 08:51:28 +0800 Subject: [PATCH 1/4] Revise NapCat deployment instructions Updated instructions for modifying the astrbot.yml file and changed docker-compose command to docker compose. --- en/deploy/platform/aiocqhttp/napcat.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/en/deploy/platform/aiocqhttp/napcat.md b/en/deploy/platform/aiocqhttp/napcat.md index 07b2184f..2b1d5308 100644 --- a/en/deploy/platform/aiocqhttp/napcat.md +++ b/en/deploy/platform/aiocqhttp/napcat.md @@ -38,10 +38,11 @@ Refer to this article: [NapCat.Installer - Linux One-Click Script (Supports Ubun 1. Download or copy the content of [astrbot.yml](https://github.com/NapNeko/NapCat-Docker/blob/main/compose/astrbot.yml) 2. Rename the downloaded file to `astrbot.yml` -3. Execute in the directory where the `astrbot.yml` file is located: +3. modify `astrbot.yml`, change "#- "6199:6199" to "- "6199:6199", remove the flag of "#" +4. Execute in the directory where the `astrbot.yml` file is located: ```bash -NAPCAT_UID=$(id -u) NAPCAT_GID=$(id -g) docker-compose -f ./astrbot.yml up -d +NAPCAT_UID=$(id -u) NAPCAT_GID=$(id -g) docker compose -f ./astrbot.yml up -d ``` ## Deploy via Docker From 425959e43eb9ccf0cc018f0f1acb6e188be3983f Mon Sep 17 00:00:00 2001 From: jlugjb Date: Wed, 14 Jan 2026 08:52:38 +0800 Subject: [PATCH 2/4] Revise NapCat deployment instructions Updated instructions for editing the astrbot.yml file and changed docker-compose to docker compose. --- zh/deploy/platform/aiocqhttp/napcat.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/zh/deploy/platform/aiocqhttp/napcat.md b/zh/deploy/platform/aiocqhttp/napcat.md index d3203407..8acfd7c1 100644 --- a/zh/deploy/platform/aiocqhttp/napcat.md +++ b/zh/deploy/platform/aiocqhttp/napcat.md @@ -37,10 +37,11 @@ NapCat 提供了大量的部署方式,包括 Docker、Windows 一键安装包 1. 下载或复制 [astrbot.yml](https://github.com/NapNeko/NapCat-Docker/blob/main/compose/astrbot.yml) 内容 2. 将刚刚下载的文件重命名为 `astrbot.yml` -3. 在 `astrbot.yml` 文件所在目录执行: +3. 编辑`astrbot.yml`,将#- "6199:6199" 修改为 - "6199:6199", 移除# +4. 在 `astrbot.yml` 文件所在目录执行: ```bash -NAPCAT_UID=$(id -u) NAPCAT_GID=$(id -g) docker-compose -f ./astrbot.yml up -d +NAPCAT_UID=$(id -u) NAPCAT_GID=$(id -g) docker compose -f ./astrbot.yml up -d ``` ## 通过 Docker 部署 From c6ab8c29f03d3702702eaeda63c02a775334317e Mon Sep 17 00:00:00 2001 From: Soulter <37870767+Soulter@users.noreply.github.com> Date: Wed, 18 Feb 2026 23:33:22 +0800 Subject: [PATCH 3/4] Fix formatting and wording in napcat.md --- en/deploy/platform/aiocqhttp/napcat.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/deploy/platform/aiocqhttp/napcat.md b/en/deploy/platform/aiocqhttp/napcat.md index 2b1d5308..bc081721 100644 --- a/en/deploy/platform/aiocqhttp/napcat.md +++ b/en/deploy/platform/aiocqhttp/napcat.md @@ -38,7 +38,7 @@ Refer to this article: [NapCat.Installer - Linux One-Click Script (Supports Ubun 1. Download or copy the content of [astrbot.yml](https://github.com/NapNeko/NapCat-Docker/blob/main/compose/astrbot.yml) 2. Rename the downloaded file to `astrbot.yml` -3. modify `astrbot.yml`, change "#- "6199:6199" to "- "6199:6199", remove the flag of "#" +3. Modify `astrbot.yml`, change `#- "6199:6199` to `- "6199:6199"`, remove the flag of "#" 4. Execute in the directory where the `astrbot.yml` file is located: ```bash From 7ea272c99b79a590512238715b4a8156ff545472 Mon Sep 17 00:00:00 2001 From: Soulter <37870767+Soulter@users.noreply.github.com> Date: Wed, 18 Feb 2026 23:34:23 +0800 Subject: [PATCH 4/4] Fix formatting in napcat.md instructions --- zh/deploy/platform/aiocqhttp/napcat.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zh/deploy/platform/aiocqhttp/napcat.md b/zh/deploy/platform/aiocqhttp/napcat.md index 8acfd7c1..5ea852d6 100644 --- a/zh/deploy/platform/aiocqhttp/napcat.md +++ b/zh/deploy/platform/aiocqhttp/napcat.md @@ -37,7 +37,7 @@ NapCat 提供了大量的部署方式,包括 Docker、Windows 一键安装包 1. 下载或复制 [astrbot.yml](https://github.com/NapNeko/NapCat-Docker/blob/main/compose/astrbot.yml) 内容 2. 将刚刚下载的文件重命名为 `astrbot.yml` -3. 编辑`astrbot.yml`,将#- "6199:6199" 修改为 - "6199:6199", 移除# +3. 编辑 `astrbot.yml`,将 `# - "6199:6199"` 修改为 `- "6199:6199"`,移除开头的 `#` 4. 在 `astrbot.yml` 文件所在目录执行: ```bash @@ -116,7 +116,7 @@ docker logs napcat 在新弹出的窗口中: - 勾选 `启用`。 -- `URL` 填写 `ws://宿主机IP:端口/ws`。如 `ws://localhost:6199/ws`或`ws://127.0.0.1:6199/ws`。 +- `URL` 填写 `ws://宿主机IP:端口/ws`。如 `ws://localhost:6199/ws` 或 `ws://127.0.0.1:6199/ws`。 > [!IMPORTANT] > 1. 如果采用 Docker 部署并同时把 AstrBot 和 NapCat 两个容器接入了同一网络,`ws://astrbot:6199/ws`(参考本文档的 Docker 脚本)。