Merge pull request #1117 from infinitycat233/dev

优化docker-compose.yaml,增加对插件的支持
This commit is contained in:
UnCLAS-Prommer authored and GitHub committed 2025-07-17 17:59:17 +08:00
commit 5692d708c1
2 files changed
+7 -1

No files matched your search

+2 -1
View File
@@ -6,4 +6,5 @@ __pycache__
mongodb
napcat
docs/
.github/
.github/
# test
+5
View File
@@ -36,6 +36,9 @@ services:
- ./docker-config/mmc:/MaiMBot/config # 持久化bot配置文件
- ./data/MaiMBot/maibot_statistics.html:/MaiMBot/maibot_statistics.html #统计数据输出
- ./data/MaiMBot:/MaiMBot/data # 共享目录
- ./data/MaiMBot/plugins:/MaiMBot/plugins # 插件目录
- ./data/MaiMBot/logs:/MaiMBot/logs # 日志目录
- site-packages:/usr/local/lib/python3.13/site-packages # 持久化Python包
restart: always
networks:
- maim_bot
@@ -81,6 +84,8 @@ services:
# - ./data/MaiMBot:/data/MaiMBot
# networks:
# - maim_bot
volumes:
site-packages:
networks:
maim_bot:
driver: bridge