Skip to main content
Glama
deploy.shβ€’2.33 kB
#!/bin/bash # IRIS - Docker Deploy Script (Monorepo Version) # Automatically pulls, rebuilds, and restarts IRIS containers set -e echo "πŸš€ Starting IRIS Deployment..." echo "" # Navigate to SwissKnife root directory (parent of iris/) cd /opt/swissknife # Pull latest code echo "πŸ“₯ 1/5 Pulling latest code from GitHub..." git pull origin main echo "βœ… Code updated" echo "" # Build Docker image (this includes all code changes) echo "πŸ”¨ 2/5 Building Docker image..." docker compose -p swissknife build iris-app echo "βœ… Image built" echo "" # Stop and remove old container echo "πŸ›‘ 3/5 Stopping old container..." docker compose -p swissknife stop iris-app docker compose -p swissknife rm -f iris-app echo "βœ… Container stopped and removed" echo "" # Start new container echo "πŸš€ 4/5 Starting new container..." docker compose -p swissknife up -d iris-app echo "βœ… Container started" echo "" # Wait for container to be healthy echo "⏳ 5/5 Waiting for container to be healthy..." sleep 10 # Check health (MCP server on port 8001) # Note: OAuth moved to TrustyVault, IRIS is now MCP-only if docker ps | grep -q "iris-app.*healthy"; then echo "βœ… Container is healthy" echo "" echo "╔════════════════════════════════════════╗" echo "β•‘ β•‘" echo "β•‘ βœ… DEPLOY SUCCESS! βœ… β•‘" echo "β•‘ β•‘" echo "β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•" echo "" echo "🌐 Services running:" echo " MCP Server: http://localhost:8001 (27 tools)" echo " Booking Page: http://localhost:8081" echo "" echo "ℹ️ OAuth moved to TrustyVault (port 8101)" echo "" echo "πŸ“‹ Logs:" echo " docker logs -f iris-app" echo " docker exec iris-app tail -f /app/logs/mcp.log" echo "" echo "πŸ” Verify refactoring:" echo " grep -r 'db_get_all_tokens' src/mcp_servers/microsoft/" echo " (should return nothing)" echo "" else echo "❌ Deploy failed - container not healthy" echo "" echo "πŸ” Check logs:" echo " docker logs iris-app" exit 1 fi

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ilvolodel/iris-legacy'

If you have feedback or need assistance with the MCP directory API, please join our Discord server