Files
AIClient-2-API/docker/docker-compose.dev.yml
hex2077 1befef08a7 feat(plugin): 支持用户插件目录挂载与加载
新增 `src/plugins-user` 作为用户插件目录,并优先从该目录
发现、安装、加载与提供插件静态资源。

同时更新 Docker 挂载、文档与内置帮助文案,确保容器部署时
可持久化用户插件;升级流程也会保留 `plugins-user` 内容,避免
更新时丢失自定义插件。

另外修正 Kiro 默认请求地址选择逻辑,并同步更新 UI 中的
默认占位提示。
2026-05-16 17:59:53 +08:00

18 lines
650 B
YAML
Raw Permalink 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.
# 开发模式覆盖配置 - 热重载
# 使用方法: docker compose -f docker/docker-compose.build.yml -f docker/docker-compose.dev.yml up -d --build
services:
aiclient-api:
build:
context: ..
dockerfile: Dockerfile
volumes:
# 从项目根目录挂载 configs使用绝对路径确保正确
- ../configs:/app/configs
- ../plugins:/app/src/plugins-user
# 挂载源代码以支持热重载,但保留 node_modules
- ../src:/app/src:ro
- ../package.json:/app/package.json:ro
# 使用 shell form 以支持 $ARGS 展开
command: ["sh", "-c", "node --watch src/core/master.js $ARGS"]