Skip to content

Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.

docs: add docker compose pull to deployment steps to prevent stale images

chenjunhong8fd679a44383
diff --git a/.env.example b/.env.example
index 83cef1a97..23c419c87 100644
--- a/.env.example
+++ b/.env.example
@@ -31,7 +31,8 @@
# ========== A1. 镜像版本与构建 ==========
# WeKnora 镜像版本标签:latest(稳定版)/ main(最新开发版)。
-# WEKNORA_VERSION=latest
+# 镜像版本标签,不指定时默认 latest。升级到指定版本(如 0.7.0)可避免本地缓存旧镜像导致版本不一致
+WEKNORA_VERSION=latest
# Alpine apk 镜像源(构建 app 镜像用,留空用默认源;国内可设 mirrors.tencent.com 加速)。
APK_MIRROR_ARG=mirrors.tencent.com
# docreader 镜像构建时 apt 镜像源(留空用默认源)。
diff --git a/README.md b/README.md
index 9013103f5..9de07cacf 100644
--- a/README.md
+++ b/README.md
@@ -209,7 +209,8 @@ See [`cli/README.md`](./cli/README.md) for install + 5-minute quickstart and
git clone https://github.com/Tencent/WeKnora.git
cd WeKnora
cp .env.example .env # Edit .env as needed, see comments in the file
-docker compose up -d # Start core services
+docker compose pull # Pull the latest images
+docker compose up -d # Start core services
```
Once started, visit **http://localhost** to get started.
diff --git a/README_CN.md b/README_CN.md
index 000287397..97aa344fa 100644
--- a/README_CN.md
+++ b/README_CN.md
@@ -186,7 +186,8 @@
git clone https://github.com/Tencent/WeKnora.git
cd WeKnora
cp .env.example .env # 按需编辑 .env,详见文件内注释
-docker compose up -d # 启动核心服务
+docker compose pull # 拉取最新镜像
+docker compose up -d # 启动核心服务
```
启动成功后访问 **http://localhost** 即可使用。