Remove services not needed by SDK from Coolify deployment
Some checks failed
CI / go-lint (pull_request) Failing after 15s
CI / nodejs-lint (pull_request) Failing after 2s
CI / test-python-voice (pull_request) Failing after 11s
CI / deploy-hetzner (pull_request) Has been skipped
CI / python-lint (pull_request) Failing after 10s
CI / test-go-consent (pull_request) Failing after 2s
CI / test-bqas (pull_request) Failing after 10s
Deploy to Coolify / deploy (push) Has been cancelled
Some checks failed
CI / go-lint (pull_request) Failing after 15s
CI / nodejs-lint (pull_request) Failing after 2s
CI / test-python-voice (pull_request) Failing after 11s
CI / deploy-hetzner (pull_request) Has been skipped
CI / python-lint (pull_request) Failing after 10s
CI / test-go-consent (pull_request) Failing after 2s
CI / test-bqas (pull_request) Failing after 10s
Deploy to Coolify / deploy (push) Has been cancelled
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 <noreply@anthropic.com>
This commit is contained in:
@@ -39,41 +39,6 @@ services:
|
|||||||
# =========================================================
|
# =========================================================
|
||||||
# SHARED 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:
|
consent-service:
|
||||||
build:
|
build:
|
||||||
context: ./consent-service
|
context: ./consent-service
|
||||||
@@ -110,37 +75,6 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- breakpilot-network
|
- 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
|
# RAG & EMBEDDING SERVICES
|
||||||
# =========================================================
|
# =========================================================
|
||||||
@@ -219,7 +153,7 @@ services:
|
|||||||
- "8099"
|
- "8099"
|
||||||
environment:
|
environment:
|
||||||
PORT: 8099
|
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:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-f", "http://127.0.0.1:8099/health"]
|
test: ["CMD", "curl", "-f", "http://127.0.0.1:8099/health"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
@@ -229,55 +163,3 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- breakpilot-network
|
- 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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user