Files
Mofox-Core/docker-compose.yml
minecraft1024a 7dc4be3555 feat(report): 优化统计报告页面的UI和布局
对生成的HTML统计报告进行了全面的视觉和结构重构,以提供更现代化、更具可读性的用户界面。

- 采用仪表盘式的双栏布局(主内容区和侧边栏),将图表移至侧边栏,使数据表格更聚焦。
- 全面更新了CSS样式,包括配色、字体、卡片、表格和标签页,提升了整体的美观度和用户体验。
- 引入了响应式设计,以更好地适配移动设备。
- 将默认输出文件名从 `maibot_statistics.html` 更改为 `mofox_bot_statistics.html` 以保持项目命名一致性。
2025-11-13 12:47:36 +08:00

54 lines
1.4 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

services:
core:
container_name: MoFox-Bot
#### prod ####
image: hunuon/mofox:latest
#### dev ####
# image: hunuon/mofox:dev
environment:
- TZ=Asia/Shanghai
volumes:
- ./docker-config/core/.env:/app/.env # 持久化env配置文件
- ./docker-config/core:/app/config # 持久化bot配置文件
- ./data/core/mofox_bot_statistics.html:/app/mofox_bot_statistics.html #统计数据输出
- ./data/app:/app/data # 共享目录
- ./data/core/plugins:/app/plugins # 插件目录
- ./data/core/logs:/app/logs # 日志目录
restart: always
networks:
- mofox
napcat:
environment:
- NAPCAT_UID=1000
- NAPCAT_GID=1000
- TZ=Asia/Shanghai
ports:
- "6099:6099"
volumes:
- ./docker-config/napcat:/app/napcat/config # 持久化napcat配置文件
- ./data/qq:/app/.config/QQ # 持久化QQ本体
- ./data/app:/app/data # 共享目录
container_name: mofox-napcat
restart: always
image: mlikiowa/napcat-docker:latest
networks:
- mofox
# chat2db占用相对较高但是功能强大
# 内存占用约600m内存充足推荐选此
# chat2db:
# image: chat2db/chat2db:latest
# container_name: maim-bot-chat2db
# restart: always
# ports:
# - "10824:10824"
# volumes:
# - ./data/chat2db:/data/app
# networks:
# - mofox
volumes:
site-packages:
networks:
mofox:
driver: bridge