aboutsummaryrefslogtreecommitdiff
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-02-28 05:03:14 -0800
committerFuwn <[email protected]>2026-02-28 05:03:14 -0800
commite4196fd73aab0898daa5b66b9d8113f7fd1e89bd (patch)
tree5176473e22728f13cde12fb81ade8a7cf4e0d83e /docker-compose.yml
parentdocs: refine user-facing wording for clarity and consistency (diff)
downloadplutia-test-e4196fd73aab0898daa5b66b9d8113f7fd1e89bd.tar.xz
plutia-test-e4196fd73aab0898daa5b66b9d8113f7fd1e89bd.zip
chore(docker): use alpine runtime and shell healthcheck
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml6
1 files changed, 5 insertions, 1 deletions
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