From d834753a98fc4d22995c814448f925622fcdd594 Mon Sep 17 00:00:00 2001 From: Sharang Parnerkar Date: Tue, 10 Mar 2026 13:29:23 +0100 Subject: [PATCH] Remove services not needed by SDK from Coolify deployment Remove backend-core, billing-service, night-scheduler, and admin-core as they are not used by any compliance/SDK service. Update health-aggregator CHECK_SERVICES to reference consent-service instead. Co-Authored-By: Claude Opus 4.6 --- docker-compose.coolify.yml | 120 +------------------------------------ 1 file changed, 1 insertion(+), 119 deletions(-) diff --git a/docker-compose.coolify.yml b/docker-compose.coolify.yml index 6f2b80d..32cc969 100644 --- a/docker-compose.coolify.yml +++ b/docker-compose.coolify.yml @@ -39,41 +39,6 @@ services: # ========================================================= # SHARED SERVICES # ========================================================= - backend-core: - build: - context: ./backend-core - dockerfile: Dockerfile - container_name: bp-core-backend - expose: - - "8000" - environment: - DATABASE_URL: postgresql+asyncpg://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT:-5432}/${POSTGRES_DB}?options=-csearch_path%3Dcore,public - JWT_SECRET: ${JWT_SECRET} - ENVIRONMENT: production - VALKEY_URL: redis://valkey:6379/0 - SESSION_TTL_HOURS: ${SESSION_TTL_HOURS:-24} - CONSENT_SERVICE_URL: http://consent-service:8081 - SMTP_HOST: ${SMTP_HOST} - SMTP_PORT: ${SMTP_PORT:-587} - SMTP_USERNAME: ${SMTP_USERNAME} - SMTP_PASSWORD: ${SMTP_PASSWORD} - SMTP_FROM_NAME: ${SMTP_FROM_NAME:-BreakPilot} - SMTP_FROM_ADDR: ${SMTP_FROM_ADDR:-noreply@breakpilot.ai} - depends_on: - valkey: - condition: service_healthy - consent-service: - condition: service_started - healthcheck: - test: ["CMD", "curl", "-f", "http://127.0.0.1:8000/health"] - interval: 30s - timeout: 10s - start_period: 15s - retries: 3 - restart: unless-stopped - networks: - - breakpilot-network - consent-service: build: context: ./consent-service @@ -110,37 +75,6 @@ services: networks: - breakpilot-network - billing-service: - build: - context: ./billing-service - dockerfile: Dockerfile - container_name: bp-core-billing-service - expose: - - "8083" - environment: - DATABASE_URL: postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT:-5432}/${POSTGRES_DB} - JWT_SECRET: ${JWT_SECRET} - PORT: 8083 - ENVIRONMENT: production - ALLOWED_ORIGINS: "*" - STRIPE_SECRET_KEY: ${STRIPE_SECRET_KEY} - STRIPE_WEBHOOK_SECRET: ${STRIPE_WEBHOOK_SECRET} - STRIPE_PUBLISHABLE_KEY: ${STRIPE_PUBLISHABLE_KEY} - BILLING_SUCCESS_URL: ${BILLING_SUCCESS_URL:-https://www.breakpilot.ai/billing/success} - BILLING_CANCEL_URL: ${BILLING_CANCEL_URL:-https://www.breakpilot.ai/billing/cancel} - FRONTEND_URL: ${FRONTEND_URL:-https://www.breakpilot.ai} - TRIAL_PERIOD_DAYS: ${TRIAL_PERIOD_DAYS:-14} - INTERNAL_API_KEY: ${INTERNAL_API_KEY} - healthcheck: - test: ["CMD", "wget", "-q", "--spider", "http://127.0.0.1:8083/health"] - interval: 30s - timeout: 10s - start_period: 15s - retries: 3 - restart: unless-stopped - networks: - - breakpilot-network - # ========================================================= # RAG & EMBEDDING SERVICES # ========================================================= @@ -219,7 +153,7 @@ services: - "8099" environment: PORT: 8099 - CHECK_SERVICES: "valkey:6379,backend-core:8000,rag-service:8097,embedding-service:8087" + CHECK_SERVICES: "valkey:6379,consent-service:8081,rag-service:8097,embedding-service:8087" healthcheck: test: ["CMD", "curl", "-f", "http://127.0.0.1:8099/health"] interval: 30s @@ -229,55 +163,3 @@ services: networks: - breakpilot-network - # ========================================================= - # NIGHT SCHEDULER - # ========================================================= - night-scheduler: - build: - context: ./night-scheduler - dockerfile: Dockerfile - container_name: bp-core-night-scheduler - expose: - - "8096" - volumes: - - /var/run/docker.sock:/var/run/docker.sock - - ./night-scheduler/config:/config - environment: - COMPOSE_PROJECT_NAME: breakpilot-core - CONTAINER_PATTERN: "bp-*" - EXCLUDED_CONTAINERS: "bp-core-night-scheduler,bp-core-valkey" - healthcheck: - test: ["CMD", "curl", "-f", "http://127.0.0.1:8096/health"] - interval: 30s - timeout: 10s - start_period: 10s - retries: 3 - restart: unless-stopped - networks: - - breakpilot-network - - # ========================================================= - # ADMIN CORE - # ========================================================= - admin-core: - build: - context: ./admin-core - dockerfile: Dockerfile - args: - NEXT_PUBLIC_API_URL: ${NEXT_PUBLIC_CORE_API_URL:-https://api-core.breakpilot.ai} - container_name: bp-core-admin - expose: - - "3000" - environment: - NODE_ENV: production - BACKEND_URL: http://backend-core:8000 - OLLAMA_URL: ${OLLAMA_URL:-} - healthcheck: - test: ["CMD", "wget", "-q", "--spider", "http://127.0.0.1:3000/"] - interval: 30s - timeout: 10s - start_period: 30s - retries: 3 - restart: unless-stopped - networks: - - breakpilot-network