update readme

This commit is contained in:
initialencounter 2024-04-13 02:56:05 +08:00
parent 70cb8c5092
commit cf61635ab7

View File

@ -5,10 +5,10 @@ NapCat-Docker
## 正向 WS
```shell
docker run \
docker run -d \
-e ACCOUNT=<机器人qq> \
-d -p 3001:3001 \
-e WS_ENABLE=true \
-p 3001:3001 \
--name napcat \
mlikiowa/napcat-docker:latest
```
@ -20,7 +20,7 @@ mlikiowa/napcat-docker:latest
docker run -d \
-e ACCOUNT=<机器人qq> \
-e WSR_ENABLE=true \
-e WS_URLS="http://localhost:5140/onebot"
-e WS_URLS="ws://localhost:5140/onebot" \
--name napcat \
mlikiowa/napcat-docker:latest
```
@ -28,10 +28,12 @@ mlikiowa/napcat-docker:latest
## HTTP
```shell
docker run \
docker run -d \
-e ACCOUNT=<机器人qq> \
-d -p 3000:3000 \
-e HTTP_ENABLE=true \
-e HTTP_POST_ENABLE=true \
-e HTTP_URLS="http://localhost:5140/onebot" \
-p 3000:3000 \
--name napcat \
mlikiowa/napcat-docker:latest
```