feat: koishi

This commit is contained in:
手瓜一十雪 2025-03-07 14:59:19 +08:00
parent 0c86bd38dc
commit c9ca12f6c2
2 changed files with 41 additions and 1 deletions

View File

@ -68,5 +68,6 @@ NapCat 配置文件路径: /app/napcat/config
# 一键模板化配置 # 一键模板化配置
[AstrBot Compose模板](./compose/astrbot.yml) [AstrBot Compose模板](./compose/astrbot.yml)
[Koishi Compose模板](./compose/koishi.yml)
> 快速填充填充NapCat侧配置,你只需要配置应用侧,注意当你不需要WebUi或者处于公网环境,请注意6099端口和WebUi默认密码。 > 欢迎Pr.此方案快速填充填充NapCat侧配置,你只需要配置应用侧,注意当你不需要WebUi或者处于公网环境,请注意6099端口和WebUi默认密码。

39
compose/koishi.yml Normal file
View File

@ -0,0 +1,39 @@
# Koishi & NapCat Docker Compose 配置文件
# 启动命令: NAPCAT_UID=$(id -u) NAPCAT_GID=$(id -g) docker-compose -f ./compose/koishi.yml up -d
services:
napcat:
container_name: napcat
image: mlikiowa/napcat-docker:latest
restart: always
environment:
- NAPCAT_UID=${NAPCAT_UID:-1000}
- NAPCAT_GID=${NAPCAT_GID:-1000}
- MODE=koishi
ports:
- 6099:6099
volumes:
- ./napcat:/app/napcat
- ./ntqq:/app/.config/QQ
- ./koishi:/koishi
networks:
- koishi_network
mac_address: "02:42:ac:11:00:02"
koishi:
container_name: koishi
image: koishijs/koishi:latest
restart: always
environment:
- TZ=Asia/Shanghai
ports:
- 5140:5140
volumes:
- ./napcat:/app/napcat
- ./ntqq:/app/.config/QQ
- ./koishi:/koishi
networks:
- koishi_network
networks:
koishi_network:
driver: bridge