Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions en/deploy/platform/aiocqhttp/napcat.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions zh/deploy/platform/aiocqhttp/napcat.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 部署
Expand Down