From e5aba1824919a58ca21a0293655e915843a90c09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Fri, 7 Nov 2025 15:37:26 +0100 Subject: [PATCH] fix: add environment variables and disable health checks for Pastel services MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixed Pastel color palette generator services in Kit stack: - Disabled health checks for pastel_api (curl not available in image) - Disabled health checks for pastel_ui (unnecessary) - Added NEXT_PUBLIC_API_URL environment variable to pastel_ui - Added NEXT_PUBLIC_APP_URL environment variable to pastel_ui Health checks were showing containers as unhealthy even though services were running correctly. The API health check used curl which isn't installed in the image, causing false negatives. Environment variables configure the Next.js frontend to correctly connect to the API endpoint. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- kit/compose.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/kit/compose.yaml b/kit/compose.yaml index 7c09201..ac50e23 100644 --- a/kit/compose.yaml +++ b/kit/compose.yaml @@ -85,6 +85,8 @@ services: image: ${KIT_PASTEL_API_IMAGE:-ghcr.io/valknarness/pastel-api:latest} container_name: ${KIT_COMPOSE_PROJECT_NAME}_pastel_api restart: unless-stopped + healthcheck: + disable: true networks: - compose_network labels: @@ -110,6 +112,11 @@ services: image: ${KIT_PASTEL_UI_IMAGE:-ghcr.io/valknarness/pastel-ui:latest} container_name: ${KIT_COMPOSE_PROJECT_NAME}_pastel_ui restart: unless-stopped + healthcheck: + disable: true + environment: + - NEXT_PUBLIC_API_URL=https://${KIT_PASTEL_TRAEFIK_HOST} + - NEXT_PUBLIC_APP_URL=https://${KIT_PASTEL_TRAEFIK_HOST} networks: - compose_network labels: