File tree Expand file tree Collapse file tree 2 files changed +21
-1
lines changed
Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,17 @@ Use pre-built Docker images to start all services with one click:
6565# Download and run one-click deployment script
6666curl -fsSL https://raw.githubusercontent.com/MigoXLab/LMeterX/main/quick-start.sh | bash
6767```
68+
69+ ### Multi-Instance Deployment (Supports Concurrent Testing Tasks)
70+
71+ ``` bash
72+ # Download the deployment file docker-compose.yml
73+ curl -fsSL -o docker-compose.yml https://raw.githubusercontent.com/MigoXLab/LMeterX/main/docker-compose.yml
74+ # Start multiple instances using the --scale
75+ # Start 2 backends + 2 engines (the number can be adjusted as needed)
76+ docker compose up -d --scale backend=2 --scale engine=2
77+ ```
78+
6879### Usage Guide
6980
70811 . ** Access Web Interface** : Open http://localhost:8080
Original file line number Diff line number Diff line change @@ -63,9 +63,18 @@ LMeterX 采用微服务架构,由四个核心组件构成:
6363使用预构建的 Docker 镜像,一键启动所有服务:
6464
6565``` bash
66- # 一键启动所有服务
66+ # 一键启动所有服务(默认各服务 1个实例)
6767curl -fsSL https://raw.githubusercontent.com/MigoXLab/LMeterX/main/quick-start.sh | bash
6868```
69+ ### 多实例部署(支持并发压测任务)
70+
71+ ``` bash
72+ # 下载部署文件 docker-compose.yml
73+ curl -fsSL -o docker-compose.yml https://raw.githubusercontent.com/MigoXLab/LMeterX/main/docker-compose.yml
74+ # 使用 --scale 启动多实例
75+ # 启动 2 个 backend + 2 个 engine(可根据需要调整数量)
76+ docker compose up -d --scale backend=2 --scale engine=2
77+ ```
6978
7079### 使用指南
7180
You can’t perform that action at this time.
0 commit comments