From 5b86642ce516c9095ebeb12283c71060ec519a57 Mon Sep 17 00:00:00 2001 From: Michel Wilson Date: Mon, 20 Apr 2026 22:22:09 +0200 Subject: [PATCH 1/2] Fix healthcheck URL in docker-compose file --- README.md | 2 +- docker-compose.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 38cc073..310fd7a 100644 --- a/README.md +++ b/README.md @@ -324,7 +324,7 @@ services: - paikka-data:/data - paikka-stats:/stats healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:8080/api/v1/health"] + test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:8080/api/v1/health"] interval: 30s timeout: 10s retries: 3 diff --git a/docker-compose.yml b/docker-compose.yml index 81b7903..4be8b8b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -13,7 +13,7 @@ services: - paikka-data:/data - paikka-stats:/stats healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:8080/api/v1/health"] + test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:8080/api/v1/health"] interval: 30s timeout: 10s retries: 3 @@ -21,4 +21,4 @@ services: volumes: paikka-data: - paikka-stats: \ No newline at end of file + paikka-stats: From 4d783c48fac1db185a4a1ff4f7e9278dcad57b6c Mon Sep 17 00:00:00 2001 From: Michel Wilson Date: Tue, 21 Apr 2026 23:01:36 +0200 Subject: [PATCH 2/2] Remove it completely instead, it's in the Dockerfile already --- README.md | 6 ------ docker-compose.yml | 6 ------ 2 files changed, 12 deletions(-) diff --git a/README.md b/README.md index 310fd7a..aa41ddd 100644 --- a/README.md +++ b/README.md @@ -323,12 +323,6 @@ services: volumes: - paikka-data:/data - paikka-stats:/stats - healthcheck: - test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:8080/api/v1/health"] - interval: 30s - timeout: 10s - retries: 3 - start_period: 40s volumes: paikka-data: diff --git a/docker-compose.yml b/docker-compose.yml index 4be8b8b..4a6f292 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,12 +12,6 @@ services: volumes: - paikka-data:/data - paikka-stats:/stats - healthcheck: - test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:8080/api/v1/health"] - interval: 30s - timeout: 10s - retries: 3 - start_period: 40s volumes: paikka-data: