mirror of
https://github.com/NapNeko/NapCat-Docker.git
synced 2025-12-18 22:06:41 +08:00
feat: koishi
This commit is contained in:
parent
0c86bd38dc
commit
c9ca12f6c2
@ -68,5 +68,6 @@ NapCat 配置文件路径: /app/napcat/config
|
||||
|
||||
# 一键模板化配置
|
||||
[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
39
compose/koishi.yml
Normal 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
|
||||
Loading…
Reference in New Issue
Block a user