Implement single domain architecture for Hive platform

- Replace separate hive-api.home.deepblack.cloud subdomain with unified hive.home.deepblack.cloud
- Update Traefik routing: /api/* → backend, /* → frontend with proper priorities
- Add /api/health endpoint while maintaining /health for Docker health checks
- Update Socket.IO configuration to use single domain
- Fix CORS settings for consolidated domain
- Update MCP server endpoint to use /api path prefix
- Update all documentation to reflect single domain architecture

System now fully operational with simplified routing and proper SSL certificates.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
anthonyrawlins
2025-07-09 21:52:03 +10:00
parent dba1eac6b1
commit 8c3adf6d8f
6 changed files with 298 additions and 190 deletions

View File

@@ -251,8 +251,8 @@ vim ~/Library/Application\ Support/Claude/claude_desktop_config.json
# Update the env section:
"env": {
"HIVE_API_URL": "http://your-hive-host:8087",
"HIVE_WS_URL": "ws://your-hive-host:8087"
"HIVE_API_URL": "https://your-hive-host/api",
"HIVE_WS_URL": "wss://your-hive-host/socket.io"
}
```
@@ -266,14 +266,14 @@ You can configure multiple Hive clusters:
"command": "node",
"args": ["/path/to/hive/mcp-server/dist/index.js"],
"env": {
"HIVE_API_URL": "http://prod-hive:8087"
"HIVE_API_URL": "https://prod-hive/api"
}
},
"hive-development": {
"command": "node",
"args": ["/path/to/hive/mcp-server/dist/index.js"],
"env": {
"HIVE_API_URL": "http://dev-hive:8087"
"HIVE_API_URL": "https://dev-hive/api"
}
}
}