#!/bin/bash # Copyright 2026 Ankur Sinha # Author: Ankur Sinha # File: docker/deploy.sh # # Script for docker deployments if command -v ollama then echo "Starting Ollama" ollama serve & sleep 5 ollama pull bge-m3 ollama pull llama-guard3:1b ollama ls fi echo "Starting OSB MCP server" osb-mcp & echo "Starting fastapi" klea-rag-serve --host 127.0.0.1 --port 8005 & echo "Starting frontend" klea-rag web --title "OSB-AI " --subtitle "The Open Source Brain AI assistant" --disclaimer "While this system uses information from curated sources, it may still make mistakes. Please check the answers. More information at https://opensourcebrain.org" --server "http://127.0.0.1:8005"