ci: deploy support chat bot from committed source
Deploy Canina / deploy (push) Failing after 2s

This commit is contained in:
devops committed 2026-10-15 05:59:48 +00:00
1 parent 240a176151
commit 679a551243
2 files changed
+15

No files matched your search

+14
View File
@@ -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 > "" <<EOF
services:
canina-bot:
image:
env_file:
- .env
- support.env
EOF
echo "Starting containers..."
docker compose up -d --remove-orphans
echo "Starting support-chat bot container..."
docker compose -p canina-support -f /opt/services/ai/canina-bot/compose.yml -f "" up -d --no-build --force-recreate canina-bot
echo "Waiting for backend to start..."
sleep 15