From e4196fd73aab0898daa5b66b9d8113f7fd1e89bd Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sat, 28 Feb 2026 05:03:14 -0800 Subject: chore(docker): use alpine runtime and shell healthcheck --- docker-compose.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'docker-compose.yml') diff --git a/docker-compose.yml b/docker-compose.yml index a61454f..36b9a1f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -36,7 +36,11 @@ services: - ./config.yaml:/etc/plutia/config.yaml:ro - ./data:/var/lib/plutia healthcheck: - test: ["CMD", "wget", "-q", "-O-", "http://127.0.0.1:8080/health"] + test: + [ + "CMD-SHELL", + "wget -q -O- http://127.0.0.1:8080/health >/dev/null || exit 1", + ] interval: 30s timeout: 5s retries: 5 -- cgit v1.2.3