This repository was archived by the owner on Mar 11, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
en/deploy/platform/aiocqhttp
zh/deploy/platform/aiocqhttp Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,10 +38,11 @@ Refer to this article: [NapCat.Installer - Linux One-Click Script (Supports Ubun
3838
39391 . Download or copy the content of [ astrbot.yml] ( https://github.com/NapNeko/NapCat-Docker/blob/main/compose/astrbot.yml )
40402 . Rename the downloaded file to ` astrbot.yml `
41- 3 . Execute in the directory where the ` astrbot.yml ` file is located:
41+ 3 . Modify ` astrbot.yml ` , change ` #- "6199:6199 ` to ` - "6199:6199" ` , remove the flag of "#"
42+ 4 . Execute in the directory where the ` astrbot.yml ` file is located:
4243
4344``` bash
44- NAPCAT_UID=$( id -u) NAPCAT_GID=$( id -g) docker- compose -f ./astrbot.yml up -d
45+ NAPCAT_UID=$( id -u) NAPCAT_GID=$( id -g) docker compose -f ./astrbot.yml up -d
4546```
4647
4748## Deploy via Docker
Original file line number Diff line number Diff line change @@ -37,10 +37,11 @@ NapCat 提供了大量的部署方式,包括 Docker、Windows 一键安装包
3737
38381 . 下载或复制 [ astrbot.yml] ( https://github.com/NapNeko/NapCat-Docker/blob/main/compose/astrbot.yml ) 内容
39392 . 将刚刚下载的文件重命名为 ` astrbot.yml `
40- 3 . 在 ` astrbot.yml ` 文件所在目录执行:
40+ 3 . 编辑 ` astrbot.yml ` ,将 ` # - "6199:6199" ` 修改为 ` - "6199:6199" ` ,移除开头的 ` # `
41+ 4 . 在 ` astrbot.yml ` 文件所在目录执行:
4142
4243``` bash
43- NAPCAT_UID=$( id -u) NAPCAT_GID=$( id -g) docker- compose -f ./astrbot.yml up -d
44+ NAPCAT_UID=$( id -u) NAPCAT_GID=$( id -g) docker compose -f ./astrbot.yml up -d
4445```
4546
4647## 通过 Docker 部署
@@ -115,7 +116,7 @@ docker logs napcat
115116在新弹出的窗口中:
116117
117118- 勾选 ` 启用 ` 。
118- - ` URL ` 填写 ` ws://宿主机IP:端口/ws ` 。如 ` ws://localhost:6199/ws ` 或 ` ws://127.0.0.1:6199/ws ` 。
119+ - ` URL ` 填写 ` ws://宿主机IP:端口/ws ` 。如 ` ws://localhost:6199/ws ` 或 ` ws://127.0.0.1:6199/ws ` 。
119120
120121> [ !IMPORTANT]
121122> 1 . 如果采用 Docker 部署并同时把 AstrBot 和 NapCat 两个容器接入了同一网络,` ws://astrbot:6199/ws ` (参考本文档的 Docker 脚本)。
You can’t perform that action at this time.
0 commit comments