Lae/README.md

23 lines
767 B
Markdown
Raw Normal View History

2022-11-07 00:20:45 +00:00
# LaeCloud 莱云
2023-01-05 16:20:58 +00:00
### 主节点运行
2023-01-05 16:24:11 +00:00
```bash
2023-01-05 16:39:44 +00:00
docker run -itd --name=lae_schedule --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-01-05 16:39:44 +00:00
docker run -itd --name=lae_workers --restart=always --net=host -v /opt/lae:/opt/lae ccr.ccs.tencentyun.com/laecloud/cafe:latte art queue:work
2023-01-05 16:24:11 +00:00
```
2023-01-05 16:20:58 +00:00
### Web 节点运行
```bash
2023-01-05 16:39:44 +00:00
docker run -itd --name=lae --restart=always --net=host -v /opt/lae:/opt/lae ccr.ccs.tencentyun.com/laecloud/cafe:latte art works
```
### 单次执行 比如 migrate 或者 composer
```bash
docker run --rm --net=host -v /opt/lae:/opt/lae ccr.ccs.tencentyun.com/laecloud/cafe:latte php
```
```bash
docker run --rm --net=host -v /opt/lae:/opt/lae ccr.ccs.tencentyun.com/laecloud/cafe:latte art
2023-01-05 16:20:58 +00:00
```