Files
microdao-daarion/scripts/start-phase3.sh
Apple 6bd769ef40 feat(city-map): Add 2D City Map with coordinates and agent presence
- Add migration 013_city_map_coordinates.sql with map coordinates, zones, and agents table
- Add /city/map API endpoint in city-service
- Add /city/agents and /city/agents/online endpoints
- Extend presence aggregator to include agents[] in snapshot
- Add AgentsSource for fetching agent data from DB
- Create CityMap component with interactive room tiles
- Add useCityMap hook for fetching map data
- Update useGlobalPresence to include agents
- Add map/list view toggle on /city page
- Add agent badges to room cards and map tiles
2025-11-27 07:00:47 -08:00

54 lines
1.5 KiB
Bash
Executable File

#!/bin/bash
echo "🚀 Starting DAARION Phase 3 services..."
echo ""
# Check if .env.phase3 exists
if [ ! -f .env.phase3 ]; then
echo "⚠️ .env.phase3 not found. Creating from example..."
cp .env.phase3.example .env.phase3
echo "✅ Created .env.phase3 - please edit it with your API keys"
echo ""
fi
# Load environment
export $(cat .env.phase3 | grep -v '^#' | xargs)
# Build and start services
echo "📦 Building services..."
docker-compose -f docker-compose.phase3.yml build
echo ""
echo "▶️ Starting services..."
docker-compose -f docker-compose.phase3.yml up -d
echo ""
echo "⏳ Waiting for services to be healthy..."
sleep 10
echo ""
echo "✅ Phase 3 services started!"
echo ""
echo "📊 Service Status:"
echo " - LLM Proxy: http://localhost:7007/health"
echo " - Memory Orchestrator: http://localhost:7008/health"
echo " - Toolcore: http://localhost:7009/health"
echo " - Agent Runtime: http://localhost:7006/health"
echo " - Agent Filter: http://localhost:7005/health"
echo " - Router: http://localhost:8000/health"
echo " - Messaging Service: http://localhost:7004/api/messaging/health"
echo " - PostgreSQL: localhost:5432"
echo " - NATS: localhost:4222 (monitoring: localhost:8222)"
echo ""
echo "📝 View logs:"
echo " docker-compose -f docker-compose.phase3.yml logs -f [service]"
echo ""
echo "🛑 Stop services:"
echo " ./scripts/stop-phase3.sh"
echo ""