mirror of
https://github.com/NapNeko/NapCat-Docker.git
synced 2025-12-19 06:30:12 +08:00
585 B
585 B
NapCat-Docker
NapCat-Docker
正向 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://localhost: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://localhost:5140/onebot" \
-p 3000:3000 \
--name napcat \
mlikiowa/napcat-docker:latest