Commit Graph

15 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
cb93a1f0d3
fix: support non-root user container startup
- Guard /etc/resolv.conf write and crond behind root check in entrypoint;
  non-root containers now stay alive via 'tail -f /dev/null' instead of
  failing when crond exits with EPERM
- Set PM2_HOME to ${QL_DIR}/data/.pm2 (inside the data volume) so PM2
  does not fall back to /root/.pm2, which is inaccessible to non-root users
- Pre-create /ql/.tmp and /ql/shell/preload during image build and make
  them world-writable so non-root processes can write runtime files
- Wrap directory creation in initFile.ts with try/catch + recursive:true
  so a permission error on ~/.ssh (HOME=/root for non-root user) is logged
  as a warning instead of crashing the server init
2026-05-24 06:39:38 +00:00
Copilot
07bf0c705b
fix: respect QlPort env var in Docker health check (#2963)
* Initial plan

* fix: use QlPort env variable in health check with fallback to default 5700

Co-authored-by: whyour <22700758+whyour@users.noreply.github.com>
2026-03-11 20:43:56 +08:00
whyour
544c432f49 修复 PATH 环境变量 2026-03-01 20:35:19 +08:00
whyour
18f27a9a69 移除 nginx 2025-11-02 19:29:59 +08:00
whyour
ec3d61a713 修复 /:file 获取日志接口 2025-05-16 00:57:27 +08:00
whyour
32bccb3f3e 修复无法识别 python 依赖安装的命令 2025-05-13 00:22:15 +08:00
whyour
d871585eee 修改服务启动逻辑 2025-05-07 09:30:00 +08:00
whyour
1befa1bb8c 缓存 node 和 python 依赖 2025-04-23 02:10:39 +08:00
whyour
c229eca315 修复依赖管理和脚本管理样式 2024-08-31 23:46:29 +08:00
whyour
f6021c8157 增加内置 Python requests 模块 2024-08-19 23:06:16 +08:00
whyour
8218d4ba94 修复 Dockerfile 2024-08-18 17:26:33 +08:00
whyour
e191aca41f 修改环境变量加载逻辑 2024-07-10 23:29:44 +08:00
whyour
4d6d0a55e7 修改基础镜像 node 版本 2024-03-25 22:42:28 +08:00
whyour
b39036f8f8 取消生成 core 文件 2024-03-02 16:22:18 +08:00
whyour
bbbd353567 增加 python3.10 镜像 2024-01-22 22:51:22 +08:00