mirror of
https://github.com/Moe-Sakura/Wrangler-API.git
synced 2026-03-19 04:59:46 +08:00
251221
This commit is contained in:
26
README.md
26
README.md
@@ -21,6 +21,32 @@ curl -fsSL https://get.pnpm.io/install.sh | sh -
|
||||
pnpm install
|
||||
```
|
||||
|
||||
## Podman Compose
|
||||
|
||||
### 构建
|
||||
|
||||
先构建镜像(只需要一次,或代码变动时重建)
|
||||
|
||||
```sh
|
||||
podman build -t cf-workers-dev .
|
||||
```
|
||||
|
||||
### 常用命令
|
||||
|
||||
```sh
|
||||
# 第一次启动(会自动构建镜像)
|
||||
podman-compose up -d
|
||||
|
||||
# 停止
|
||||
podman-compose down
|
||||
|
||||
# 查看日志
|
||||
podman-compose logs -f
|
||||
|
||||
# 重启(代码改动后一般不需要重建,只需重启容器)
|
||||
podman-compose restart workers
|
||||
```
|
||||
|
||||
### Windows
|
||||
|
||||
```sh
|
||||
|
||||
Reference in New Issue
Block a user