qinglong/back
Copilot 8f23c61fee
Add non-root Docker user support with automatic command setup (#2830)
* Initial plan

* Add non-root user guide and improve error messages

Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>

* Add PM2_HOME configuration to fix non-root user permission errors

Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>

* Fix PM2 socket error by using /tmp for PM2_HOME instead of mounted volume

Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>

* Document symlink permission limitation for non-root users

Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>

* Clarify that scheduled tasks auto-adapt to use full paths when symlinks unavailable

Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>

* Add error handling for symlink creation to prevent worker crashes

Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>

* Add practical solutions for non-root users to use ql and task commands

Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>

* Modify linkCommand to create symlinks in ~/bin for non-root users

Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>

* 修复链接 task 命令

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
Co-authored-by: whyour <imwhyour@gmail.com>
2025-11-15 01:46:24 +08:00
..
api 升级 cron-parser 2025-11-11 00:37:03 +08:00
config 移除 nginx 2025-11-02 19:29:59 +08:00
data 修复日志目录逻辑 2025-11-09 21:42:45 +08:00
interface 修改定时规则类型 2025-02-21 01:35:08 +08:00
loaders Add non-root Docker user support with automatic command setup (#2830) 2025-11-15 01:46:24 +08:00
middlewares 修改服务启动逻辑 2025-05-07 09:30:00 +08:00
protos Add cron task management to QLAPI (#2826) 2025-11-14 23:20:56 +08:00
schedule Add cron task management to QLAPI (#2826) 2025-11-14 23:20:56 +08:00
services Add non-root Docker user support with automatic command setup (#2830) 2025-11-15 01:46:24 +08:00
shared 修复创建脚本可能失败 2025-05-20 01:00:08 +08:00
types 修改服务启动逻辑 2025-05-07 09:30:00 +08:00
validation 升级 cron-parser 2025-11-11 00:37:03 +08:00
app.ts Fix race condition preventing scheduled tasks from executing in clustered mode (#2819) 2025-11-12 00:59:22 +08:00
token.ts 修改服务启动逻辑 2025-05-07 09:30:00 +08:00
tsconfig.json 修改服务启动逻辑 2025-05-07 09:30:00 +08:00