Skip to content

AI-native knowledge base & Evernote/Obsidian alternative with instant sync & native MCP. Free on Cloudflare or self-hosted via Docker.

docs(docker): add Tencent TCR mirror

tianma-if3a1d9daacd88
diff --git a/README.md b/README.md
index 6671bf38..8eae7fd4 100644
--- a/README.md
+++ b/README.md
@@ -100,7 +100,7 @@ export EDGE_EVER_AUTH_PASSWORD='replace-with-a-long-random-password'
docker compose up -d
```
-Docker persists SQLite and local attachments in one `/data` volume and also supports S3-compatible attachment storage. See the [Docker deployment guide](docs/deploy-docker.md) for HTTPS, secrets, NAS permissions, backup, and upgrade instructions.
+Docker persists SQLite and local attachments in one `/data` volume and also supports S3-compatible attachment storage. Users in mainland China can set `EDGE_EVER_IMAGE=ccr.ccs.tencentyun.com/edgeever/edgeever` to use the public Tencent Cloud mirror. See the [Docker deployment guide](docs/deploy-docker.md) for image registry selection, HTTPS, secrets, NAS permissions, backup, and upgrade instructions.
---
diff --git a/README.zh-CN.md b/README.zh-CN.md
index 690d20f6..13795df2 100644
--- a/README.zh-CN.md
+++ b/README.zh-CN.md
@@ -100,7 +100,7 @@ export EDGE_EVER_AUTH_PASSWORD='请替换为足够长的随机密码'
docker compose up -d
```
-Docker 将 SQLite 与本地附件统一持久化到 `/data` 卷,也支持 S3 兼容附件存储。HTTPS、Secret、NAS 权限、备份与升级说明请查看 [Docker 部署文档](docs/deploy-docker.zh-CN.md)。
+Docker 将 SQLite 与本地附件统一持久化到 `/data` 卷,也支持 S3 兼容附件存储。中国大陆用户可设置 `EDGE_EVER_IMAGE=ccr.ccs.tencentyun.com/edgeever/edgeever` 使用腾讯云公共镜像。镜像选择、HTTPS、Secret、NAS 权限、备份与升级说明请查看 [Docker 部署文档](docs/deploy-docker.zh-CN.md)。
---
diff --git a/compose.yaml b/compose.yaml
index aa1a4d6d..bdb417a9 100644
--- a/compose.yaml
+++ b/compose.yaml
@@ -1,6 +1,6 @@
services:
edgeever:
- image: ghcr.io/tianma-if/edgeever:${EDGE_EVER_VERSION:-latest}
+ image: "${EDGE_EVER_IMAGE:-ghcr.io/tianma-if/edgeever}:${EDGE_EVER_VERSION:-latest}"
restart: unless-stopped
init: true
ports:
diff --git a/docs/deploy-docker.md b/docs/deploy-docker.md
index 55874f3e..95130231 100644
--- a/docs/deploy-docker.md
+++ b/docs/deploy-docker.md
@@ -29,6 +29,30 @@ Open `http://localhost:8787`. The container reports healthy only after the
shared `/api/health` endpoint confirms that authentication, SQLite, and object
storage are ready.
+### Image registry
+
+Compose uses the canonical GitHub Container Registry image by default:
+
+```text
+ghcr.io/tianma-if/edgeever
+```
+
+Users in mainland China can select the public Tencent Cloud TCR mirror without
+editing `compose.yaml`:
+
+```sh
+export EDGE_EVER_IMAGE=ccr.ccs.tencentyun.com/edgeever/edgeever
+export EDGE_EVER_VERSION=v1.33.0
+docker compose pull
+docker compose up -d
+```
+
+The TCR mirror requires no `docker login`. Its `v1.33.0` and `latest` tags are
+the same multi-platform OCI image as GHCR, with the same digest and support for
+both `linux/amd64` and `linux/arm64`. Keep `EDGE_EVER_VERSION` pinned to an
+explicit tag in production. Switching registries does not change or migrate
+the `/data` volume.
+
Compose creates one named volume. Everything that must survive a container
replacement is under `/data`:
diff --git a/docs/deploy-docker.zh-CN.md b/docs/deploy-docker.zh-CN.md
index c035d6e9..f70ff8da 100644
--- a/docs/deploy-docker.zh-CN.md
+++ b/docs/deploy-docker.zh-CN.md
@@ -25,6 +25,28 @@ docker compose ps
打开 `http://localhost:8787`。只有共享的 `/api/health` 确认鉴权、SQLite 和对象
存储均已就绪后,容器才会进入 healthy 状态。
+### 镜像地址
+
+Compose 默认使用 GitHub Container Registry 中的主镜像:
+
+```text
+ghcr.io/tianma-if/edgeever
+```
+
+中国大陆用户可以直接选择腾讯云 TCR 公共镜像,无需修改 `compose.yaml`:
+
+```sh
+export EDGE_EVER_IMAGE=ccr.ccs.tencentyun.com/edgeever/edgeever
+export EDGE_EVER_VERSION=v1.33.0
+docker compose pull
+docker compose up -d
+```
+
+腾讯云镜像无需执行 `docker login`。其中的 `v1.33.0` 与 `latest` 和 GHCR 是同一
+份多平台 OCI 镜像,digest 一致,同时支持 `linux/amd64` 与 `linux/arm64`。
+生产环境仍应通过 `EDGE_EVER_VERSION` 固定正式版本标签。切换镜像地址不会修改
+或迁移 `/data` 卷。
+
Compose 会创建一个命名卷。所有需要在容器替换后保留的数据都位于 `/data`:
```text