2 Commits
2 changed files with 23 additions and 7 deletions
+15 -5
View File
@@ -60,7 +60,7 @@ am-deduper watch /music/AllMusic --db /data/dedupe.db --l2
```text ```text
NAS NAS
├── Gitea Registry ├── Gitea Registry
│ └── gitea.king.nyc.mn/openclaw/am-deduper:latest │ └── gitea.king.nyc.mn/openclaw/am-deduper:v0.2.0
├── AllMusic/ ├── AllMusic/
│ ├── admin/ │ ├── admin/
│ ├── alice/ │ ├── alice/
@@ -88,7 +88,7 @@ docker login gitea.king.nyc.mn
拉取生产镜像并准备数据目录: 拉取生产镜像并准备数据目录:
```bash ```bash
docker pull gitea.king.nyc.mn/openclaw/am-deduper:latest docker pull gitea.king.nyc.mn/openclaw/am-deduper:v0.2.0
mkdir -p <NAS绝对路径>/AppData/am-deduper mkdir -p <NAS绝对路径>/AppData/am-deduper
``` ```
@@ -133,15 +133,25 @@ http://<NAS-IP>:18080/
更新版本: 更新版本:
修改 `.env` 中的 `AM_DEDUPER_IMAGE`(或直接修改 Compose 的默认版本),然后:
```bash ```bash
docker pull gitea.king.nyc.mn/openclaw/am-deduper:latest docker compose pull
docker compose up -d docker compose up -d
``` ```
当前生产镜像: 当前生产镜像(推荐固定版本):
```text ```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: wjyhk 已验证推送成功;当前镜像 digest:
+8 -2
View File
@@ -1,6 +1,6 @@
services: services:
am-deduper: am-deduper:
image: gitea.king.nyc.mn/openclaw/am-deduper:latest image: ${AM_DEDUPER_IMAGE:-gitea.king.nyc.mn/openclaw/am-deduper:v0.2.0}
container_name: am-deduper container_name: am-deduper
restart: unless-stopped restart: unless-stopped
command: command:
@@ -18,7 +18,7 @@ services:
stop_grace_period: 30s stop_grace_period: 30s
am-deduper-web: am-deduper-web:
image: gitea.king.nyc.mn/openclaw/am-deduper:latest image: ${AM_DEDUPER_IMAGE:-gitea.king.nyc.mn/openclaw/am-deduper:v0.2.0}
container_name: am-deduper-web container_name: am-deduper-web
restart: unless-stopped restart: unless-stopped
command: command:
@@ -36,4 +36,10 @@ services:
- /vol2/1000/Docker/am-deduper/data:/data - /vol2/1000/Docker/am-deduper/data:/data
ports: ports:
- "18080:8080" - "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 stop_grace_period: 10s