From 679a551243fe033f1461ca168d4bfed63446b1c5 Mon Sep 17 00:00:00 2001 From: devops Date: Thu, 15 Oct 2026 05:59:48 +0000 Subject: [PATCH] ci: deploy support chat bot from committed source --- scripts/compose.prod.yml | 1 + scripts/deploy.sh | 14 ++++++++++++++ 2 files changed, 15 insertions(+) diff --git a/scripts/compose.prod.yml b/scripts/compose.prod.yml index 6a84db3e..526b5284 100644 --- a/scripts/compose.prod.yml +++ b/scripts/compose.prod.yml @@ -36,6 +36,7 @@ services: - NODE_ENV=production - ENABLE_SWAGGER=false - DATABASE_URL=postgresql://canino_prod:caninopassword_prod@db_prod:5432/caninodb_prod?schema=public + - SUPPORT_CHAT_URL=http://canina-bot:8643/support/ask - REDIS_HOST=redis_prod - REDIS_PORT=6379 - PORT=3000 diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 7df62d63..761bf8c2 100644 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -98,8 +98,22 @@ docker compose --progress plain build \ --build-arg VITE_API_URL="${API_URL}" \ ${NPM_REGISTRY_ARG} +echo "Building support-chat bot image from committed source..." +BOT_IMAGE="canina-support-bot:" +docker build --pull=false -f scripts/support-chat/Dockerfile -t "" . +BOT_OVERRIDE="/opt/services/ai/canina-bot/support.override.cicd.yml" +cat > "" <