From 3b00303e7b4d7a138c0f00f208929219521b2a24 Mon Sep 17 00:00:00 2001 From: Till-JS <101404291+Till-JS@users.noreply.github.com> Date: Tue, 17 Feb 2026 10:55:40 +0100 Subject: [PATCH] fix(planta-backend): correct health check endpoint to /api/v1/health - Update Dockerfile HEALTHCHECK to use /api/v1/health - Update docker-compose.macmini.yml health check endpoint - Increase start_period to 30s Co-Authored-By: Claude Opus 4.5 --- apps/planta/apps/backend/Dockerfile | 4 ++-- docker-compose.macmini.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/planta/apps/backend/Dockerfile b/apps/planta/apps/backend/Dockerfile index 39367c494..9ece570ce 100644 --- a/apps/planta/apps/backend/Dockerfile +++ b/apps/planta/apps/backend/Dockerfile @@ -74,8 +74,8 @@ WORKDIR /app/apps/planta/apps/backend EXPOSE 3022 # Health check -HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \ - CMD wget --no-verbose --tries=1 --spider http://localhost:3022/health || exit 1 +HEALTHCHECK --interval=30s --timeout=10s --start-period=30s --retries=3 \ + CMD wget --no-verbose --tries=1 --spider http://localhost:3022/api/v1/health || exit 1 # Run entrypoint script ENTRYPOINT ["docker-entrypoint.sh"] diff --git a/docker-compose.macmini.yml b/docker-compose.macmini.yml index f87e3239b..a06d76649 100644 --- a/docker-compose.macmini.yml +++ b/docker-compose.macmini.yml @@ -655,7 +655,7 @@ services: ports: - "3022:3022" healthcheck: - test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:3022/health"] + test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:3022/api/v1/health"] interval: 30s timeout: 10s retries: 3