From e13ccf0c0d840f7edcf299531883d68846c74a61 Mon Sep 17 00:00:00 2001 From: OpenClaw Agent Date: Fri, 18 Sep 2026 07:31:02 +0800 Subject: [PATCH] docs: pin v0.2.0 production image and add web healthcheck --- README.md | 14 +++++++++++--- docker-compose.yml | 6 ++++++ 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 28d1123..cbee9e0 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ am-deduper watch /music/AllMusic --db /data/dedupe.db --l2 ```text NAS ├── Gitea Registry -│ └── gitea.king.nyc.mn/openclaw/am-deduper:latest +│ └── gitea.king.nyc.mn/openclaw/am-deduper:v0.2.0 ├── AllMusic/ │ ├── admin/ │ ├── alice/ @@ -138,10 +138,18 @@ docker pull gitea.king.nyc.mn/openclaw/am-deduper:latest docker compose up -d ``` -当前生产镜像: +当前生产镜像(推荐固定版本): ```text -gitea.king.nyc.mn/openclaw/am-deduper:latest +gitea.king.nyc.mn/openclaw/am-deduper:v0.2.0 +``` + +兼容自动跟随最新版:`gitea.king.nyc.mn/openclaw/am-deduper:latest` + +本次 v0.2.0 镜像 digest: + +```text +sha256:6c3854efc10d19c56c4e9d442180143d8d30ca3a5b2496ca10169f0a78352a65 ``` wjyhk 已验证推送成功;当前镜像 digest: diff --git a/docker-compose.yml b/docker-compose.yml index 31a7859..ca61a6a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -36,4 +36,10 @@ services: - /vol2/1000/Docker/am-deduper/data:/data ports: - "18080:8080" + healthcheck: + test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen(\"http://127.0.0.1:8080/\", timeout=3)"] + interval: 30s + timeout: 5s + retries: 3 + start_period: 10s stop_grace_period: 10s