Spaces:
Runtime error
Runtime error
File size: 742 Bytes
c2b4eb6 17e1506 c2b4eb6 8388d69 c2b4eb6 00a9c1e 3780c3d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | #!/bin/bash
# Copyright 2026 Ankur Sinha
# Author: Ankur Sinha <sanjay DOT ankur AT gmail DOT com>
# 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"
|