NapCat-Docker
Go to file
2024-04-13 13:45:40 +08:00
.github/workflows chore: test build 2024-04-13 13:13:02 +08:00
base initial commit 2024-04-13 02:38:14 +08:00
config.txt initial commit 2024-04-13 02:38:14 +08:00
Dockerfile chore: test build 2024-04-13 12:46:14 +08:00
entrypoint.sh initial commit 2024-04-13 02:38:14 +08:00
get_artifacts.sh chore: test build 2024-04-13 12:46:14 +08:00
README.md chore: update readme 2024-04-13 13:45:40 +08:00

NapCat-Docker

DockerHub

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