#!/bin/bash
# Sofiia Memory Service Startup Script
# NODA2 Development Environment

cd /Users/apple/github-projects/microdao-daarion/services/memory-service

export MEMORY_QDRANT_HOST=localhost
export MEMORY_QDRANT_PORT=6333
export MEMORY_POSTGRES_HOST=localhost
export MEMORY_POSTGRES_PORT=5433
export MEMORY_POSTGRES_USER=daarion
export MEMORY_POSTGRES_PASSWORD=daarion_secret_node2
export MEMORY_POSTGRES_DB=daarion_memory
export MEMORY_COHERE_API_KEY=nOdOXnuepLku2ipJWpe6acWgAsJCsDhMO0RnaEJB

echo "🚀 Starting Sofiia Memory Service..."
source venv/bin/activate

python -m uvicorn app.main:app --host 0.0.0.0 --port 8000
