mirror of
https://github.com/NapNeko/NapCat-Docker.git
synced 2025-12-19 06:30:12 +08:00
chore: update readme
This commit is contained in:
parent
160bae9367
commit
5fc6848be9
19
README.md
19
README.md
@ -1,6 +1,13 @@
|
||||
# NapCat-Docker
|
||||
NapCat-Docker
|
||||
|
||||
[DockerHub](https://hub.docker.com/r/mlikiowa/napcat-docker)
|
||||
|
||||
## Support Platform/Arch
|
||||
- [x] Linux/Amd64
|
||||
- [x] Linux/Arm64
|
||||
|
||||
|
||||
# 启动容器
|
||||
|
||||
## 正向 WS
|
||||
|
||||
@ -20,7 +27,7 @@ mlikiowa/napcat-docker:latest
|
||||
docker run -d \
|
||||
-e ACCOUNT=<机器人qq> \
|
||||
-e WSR_ENABLE=true \
|
||||
-e WS_URLS="ws://localhost:5140/onebot" \
|
||||
-e WS_URLS="ws://192.168.3.8:5140/onebot" \
|
||||
--name napcat \
|
||||
mlikiowa/napcat-docker:latest
|
||||
```
|
||||
@ -32,8 +39,14 @@ docker run -d \
|
||||
-e ACCOUNT=<机器人qq> \
|
||||
-e HTTP_ENABLE=true \
|
||||
-e HTTP_POST_ENABLE=true \
|
||||
-e HTTP_URLS="http://localhost:5140/onebot" \
|
||||
-e HTTP_URLS="http://192.168.3.8:5140/onebot" \
|
||||
-p 3000:3000 \
|
||||
--name napcat \
|
||||
mlikiowa/napcat-docker:latest
|
||||
```
|
||||
|
||||
# 登录
|
||||
|
||||
```shell
|
||||
dockers logs napcat
|
||||
```
|
||||
Loading…
Reference in New Issue
Block a user