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:
@@ -12,7 +12,7 @@ import time
|
||||
from pathlib import Path
|
||||
|
||||
# Configuration
|
||||
HIVE_API_URL = "http://localhost:8087"
|
||||
HIVE_API_URL = "https://hive.home.deepblack.cloud/api"
|
||||
CONFIG_FILE = "/home/tony/AI/projects/hive/config/hive.yaml"
|
||||
|
||||
def load_config():
|
||||
@@ -136,7 +136,7 @@ def main():
|
||||
|
||||
if successful_registrations > 0:
|
||||
print(f"\n🎉 Successfully registered {successful_registrations} agents!")
|
||||
print("🔗 Check agent status: curl http://localhost:8087/api/agents")
|
||||
print("🔗 Check agent status: curl https://hive.home.deepblack.cloud/api/agents")
|
||||
else:
|
||||
print("\n💔 No agents were successfully registered.")
|
||||
sys.exit(1)
|
||||
|
||||
Reference in New Issue
Block a user