mirror of
https://github.com/NapNeko/NapCat-Docker.git
synced 2025-12-19 14:41:33 +08:00
update readme
This commit is contained in:
parent
70cb8c5092
commit
cf61635ab7
12
README.md
12
README.md
@ -5,10 +5,10 @@ NapCat-Docker
|
|||||||
## 正向 WS
|
## 正向 WS
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
docker run \
|
docker run -d \
|
||||||
-e ACCOUNT=<机器人qq> \
|
-e ACCOUNT=<机器人qq> \
|
||||||
-d -p 3001:3001 \
|
|
||||||
-e WS_ENABLE=true \
|
-e WS_ENABLE=true \
|
||||||
|
-p 3001:3001 \
|
||||||
--name napcat \
|
--name napcat \
|
||||||
mlikiowa/napcat-docker:latest
|
mlikiowa/napcat-docker:latest
|
||||||
```
|
```
|
||||||
@ -20,7 +20,7 @@ mlikiowa/napcat-docker:latest
|
|||||||
docker run -d \
|
docker run -d \
|
||||||
-e ACCOUNT=<机器人qq> \
|
-e ACCOUNT=<机器人qq> \
|
||||||
-e WSR_ENABLE=true \
|
-e WSR_ENABLE=true \
|
||||||
-e WS_URLS="http://localhost:5140/onebot"
|
-e WS_URLS="ws://localhost:5140/onebot" \
|
||||||
--name napcat \
|
--name napcat \
|
||||||
mlikiowa/napcat-docker:latest
|
mlikiowa/napcat-docker:latest
|
||||||
```
|
```
|
||||||
@ -28,10 +28,12 @@ mlikiowa/napcat-docker:latest
|
|||||||
|
|
||||||
## HTTP
|
## HTTP
|
||||||
```shell
|
```shell
|
||||||
docker run \
|
docker run -d \
|
||||||
-e ACCOUNT=<机器人qq> \
|
-e ACCOUNT=<机器人qq> \
|
||||||
-d -p 3000:3000 \
|
|
||||||
-e HTTP_ENABLE=true \
|
-e HTTP_ENABLE=true \
|
||||||
|
-e HTTP_POST_ENABLE=true \
|
||||||
|
-e HTTP_URLS="http://localhost:5140/onebot" \
|
||||||
|
-p 3000:3000 \
|
||||||
--name napcat \
|
--name napcat \
|
||||||
mlikiowa/napcat-docker:latest
|
mlikiowa/napcat-docker:latest
|
||||||
```
|
```
|
||||||
Loading…
Reference in New Issue
Block a user