docs: pin v0.2.0 production image and add web healthcheck
This commit is contained in:
@@ -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/
|
||||||
@@ -138,10 +138,18 @@ docker pull gitea.king.nyc.mn/openclaw/am-deduper:latest
|
|||||||
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:
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user