This commit is contained in:
1 parent
240a176151
commit
679a551243
2 files changed
+15
No files matched your search
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user