NapCat-Docker
Go to file
initialencounter 70cb8c5092 initial commit
2024-04-13 02:38:14 +08:00
.github/workflows initial commit 2024-04-13 02:38:14 +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 initial commit 2024-04-13 02:38:14 +08:00
entrypoint.sh initial commit 2024-04-13 02:38:14 +08:00
get_artifacts.sh initial commit 2024-04-13 02:38:14 +08:00
README.md initial commit 2024-04-13 02:38:14 +08:00

NapCat-Docker

NapCat-Docker

正向 WS

docker run \
-e ACCOUNT=<机器人qq> \
-d -p 3001:3001 \
-e WS_ENABLE=true \
--name napcat \
mlikiowa/napcat-docker:latest

反向 WS

docker run -d \
-e ACCOUNT=<机器人qq> \
-e WSR_ENABLE=true \
-e WS_URLS="http://localhost:5140/onebot"
--name napcat \
mlikiowa/napcat-docker:latest

HTTP

docker run \
-e ACCOUNT=<机器人qq> \
-d -p 3000:3000 \
-e HTTP_ENABLE=true \
--name napcat \
mlikiowa/napcat-docker:latest