mirror of
https://github.com/chaitin/SafeLine.git
synced 2026-01-31 13:53:33 +08:00
feat: release v1.2.0
This commit is contained in:
11
README_CN.md
11
README_CN.md
@@ -50,15 +50,8 @@ sudo docker compose up -d
|
||||
|
||||
**WARN: 雷池 SafeLine 服务会重启,流量会中断一小段时间,根据业务情况选择合适的时间来执行升级操作。**
|
||||
|
||||
```
|
||||
# 查看 `IMAGE_TAG`
|
||||
cat .env | grep IMAGE_TAG
|
||||
# 把 IMAGE_TAG 修改为 latest 或者某个特定版本,比如 1.1.0
|
||||
sed -i "s/IMAGE_TAG=.*/IMAGE_TAG=latest/g" .env
|
||||
|
||||
# 检查 `compose.yaml`
|
||||
# docker 镜像的命名空间调整到了 `chaitin`,部分旧版本配置是使用的 `chaitinops`
|
||||
sed -i "s/chaitinops/chaitin/g" compose.yaml
|
||||
```shell
|
||||
curl -kfLsS https://waf-ce.chaitin.cn/release/latest/upgrade.sh | bash
|
||||
|
||||
# 根据环境情况自行使用 `docker compose` 或者 `docker-compose`
|
||||
docker compose down && docker compose pull && docker compose up -d
|
||||
|
||||
Reference in New Issue
Block a user