Files
order-notification-automation/deploy/qinglong/README.md
T

32 lines
1.7 KiB
Markdown
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.
# 青龙部署
直接使用官方青龙面板、调度器、任务启停、运行日志和 OpenAPI。订单程序保留浏览器及业务处理;原工作台的发送时间配置不会自动同步至青龙。
## 启动
1. 准备可运行 Linux 容器的 Docker Engine。Windows 使用 Docker Desktop 和 WSL 2。
2. 双击项目根目录 `启动青龙.cmd`,打开 http://127.0.0.1:5700 ,自行完成管理员初始化。
3. 需要局域网访问时,先完成账号初始化,再设置环境变量 `QL_LISTEN_ADDRESS=0.0.0.0`,重新启动;同事通过部署机 IP:5700 访问。端口可用 `QL_PANEL_PORT` 修改。工具不改防火墙。
状态保存在 Docker 命名卷 `order-notification-qinglong_qinglong-data`,不放在 VirtualBox 共享目录。不运行 `down -v`,否则会删除账号、任务和日志。
## 管理
优先使用青龙原生 Web 页面。项目内安装官方 `@whyour/qinglong-cli@0.1.2`;根目录 `青龙CLI.cmd` 直接转发参数到该 CLI,没有另写一套任务管理实现。
```powershell
.\青龙CLI.cmd --help
.\青龙CLI.cmd task list --json
.\青龙CLI.cmd task logs 任务ID --json
```
CLI 认证按官方说明配置。现阶段不自动生成账号、保存凭据、创建业务任务或启用邮件;BPM 执行端尚需对接。部署文件可验证不代表容器已经运行。
## 来源
- https://github.com/whyour/qinglong
- https://github.com/whyour/qinglong/blob/develop/docker/docker-compose.yml
- https://github.com/whyour/qinglong/blob/develop/cli/README.md
- 镜像:whyour/qinglong:debian,2026-10-16 核对 Docker Hub 后固定摘要。
- 官方代码采用 Apache-2.0;项目安装的 CLI 保留其随包许可证。未复制或修改青龙源代码。