mirror of
https://github.com/NapNeko/NapCat-Docker.git
synced 2025-12-19 06:30:12 +08:00
NapCat-Docker
| .github/workflows | ||
| base | ||
| config.txt | ||
| Dockerfile | ||
| entrypoint.sh | ||
| get_artifacts.sh | ||
| README.md | ||
NapCat-Docker
Support Platform/Arch
- Linux/Amd64
- Linux/Arm64
启动容器
正向 WS
docker run -d \
-e ACCOUNT=<机器人qq> \
-e WS_ENABLE=true \
-p 3001:3001 \
--name napcat \
mlikiowa/napcat-docker:latest
反向 WS
docker run -d \
-e ACCOUNT=<机器人qq> \
-e WSR_ENABLE=true \
-e WS_URLS="ws://192.168.3.8:5140/onebot" \
--name napcat \
mlikiowa/napcat-docker:latest
HTTP
docker run -d \
-e ACCOUNT=<机器人qq> \
-e HTTP_ENABLE=true \
-e HTTP_POST_ENABLE=true \
-e HTTP_URLS="http://192.168.3.8:5140/onebot" \
-p 3000:3000 \
--name napcat \
mlikiowa/napcat-docker:latest
登录
dockers logs napcat