2022-11-07 00:20:45 +00:00
|
|
|
# LaeCloud 莱云
|
2023-01-05 16:20:58 +00:00
|
|
|
|
2023-02-06 11:29:14 +00:00
|
|
|
### 扣费队列
|
|
|
|
1. default 默认扣费队列
|
|
|
|
2. host-cost 机器扣费队列
|
|
|
|
|
2023-01-05 16:20:58 +00:00
|
|
|
### 主节点运行
|
2023-01-05 16:24:11 +00:00
|
|
|
```bash
|
2023-01-13 17:05:42 +00:00
|
|
|
docker run -itd --name=lae_schedule --init --restart=always --net=host -v /opt/lae:/opt/lae ccr.ccs.tencentyun.com/laecloud/cafe:latte art schedule:work
|
2023-01-05 16:24:11 +00:00
|
|
|
|
2023-02-06 11:29:14 +00:00
|
|
|
docker run -itd --name=lae_workers --init --restart=always --net=host -v /opt/lae:/opt/lae ccr.ccs.tencentyun.com/laecloud/cafe:latte art queue:work --queue=default,host-cost
|
2023-01-05 16:24:11 +00:00
|
|
|
```
|
2023-01-05 16:20:58 +00:00
|
|
|
|
|
|
|
### Web 节点运行
|
|
|
|
```bash
|
2023-01-13 17:05:42 +00:00
|
|
|
docker run -itd --name=lae --init --restart=always --net=host -v /opt/lae:/opt/lae ccr.ccs.tencentyun.com/laecloud/cafe:latte art works
|
2023-01-05 16:39:44 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
### 单次执行 比如 migrate 或者 composer
|
|
|
|
```bash
|
2023-01-13 17:05:42 +00:00
|
|
|
docker run -it --rm --init --net=host -v /opt/lae:/opt/lae ccr.ccs.tencentyun.com/laecloud/cafe:latte php
|
2023-01-05 16:39:44 +00:00
|
|
|
```
|
|
|
|
```bash
|
2023-01-13 17:05:42 +00:00
|
|
|
docker run -it --rm --init --net=host -v /opt/lae:/opt/lae ccr.ccs.tencentyun.com/laecloud/cafe:latte art
|
2023-01-05 16:20:58 +00:00
|
|
|
```
|