diff --git a/apps/agent-services/agent-coordinator/src/coordinator.py b/apps/agent-services/agent-coordinator/src/coordinator.py index c6ec6ba6..17e7ebcc 100644 --- a/apps/agent-services/agent-coordinator/src/coordinator.py +++ b/apps/agent-services/agent-coordinator/src/coordinator.py @@ -123,4 +123,4 @@ async def health_check(): if __name__ == "__main__": import uvicorn - uvicorn.run(app, host="0.0.0.0", port=8011) + uvicorn.run(app, host="0.0.0.0", port=8012) diff --git a/apps/agent-services/agent-registry/src/app.py b/apps/agent-services/agent-registry/src/app.py index 96f00a86..25b06ea3 100644 --- a/apps/agent-services/agent-registry/src/app.py +++ b/apps/agent-services/agent-registry/src/app.py @@ -142,4 +142,4 @@ async def health_check(): if __name__ == "__main__": import uvicorn - uvicorn.run(app, host="0.0.0.0", port=8012) + uvicorn.run(app, host="0.0.0.0", port=8013) diff --git a/apps/blockchain-explorer/main.py b/apps/blockchain-explorer/main.py index 40675a69..6489a45f 100755 --- a/apps/blockchain-explorer/main.py +++ b/apps/blockchain-explorer/main.py @@ -1285,4 +1285,4 @@ async def health(): } if __name__ == "__main__": - uvicorn.run(app, host="0.0.0.0", port=8022) + uvicorn.run(app, host="0.0.0.0", port=8004) diff --git a/apps/coordinator-api/src/app/services/advanced_ai_service.py b/apps/coordinator-api/src/app/services/advanced_ai_service.py index aab8999f..68164167 100755 --- a/apps/coordinator-api/src/app/services/advanced_ai_service.py +++ b/apps/coordinator-api/src/app/services/advanced_ai_service.py @@ -379,4 +379,4 @@ async def delete_model(model_id: str): if __name__ == "__main__": import uvicorn - uvicorn.run(app, host="0.0.0.0", port=8009) + uvicorn.run(app, host="0.0.0.0", port=8015) diff --git a/setup.sh b/setup.sh index e4e373bf..5a725425 100755 --- a/setup.sh +++ b/setup.sh @@ -230,6 +230,8 @@ check_service "Coordinator API" "http://localhost:8000/health" check_service "Exchange API" "http://localhost:8001/api/health" check_service "Marketplace API" "http://localhost:8002/health" check_service "Wallet API" "http://localhost:8003/health" +check_service "Explorer" "http://localhost:8004/health" +check_service "Web UI" "http://localhost:8007/health" # Check blockchain node and RPC echo "" @@ -250,19 +252,17 @@ fi echo "" echo "🚀 AI/Agent/GPU Services (8010-8019):" check_service "GPU Service" "http://localhost:8010/health" -check_service "Learning Service" "http://localhost:8010/health" -check_service "Agent Coordinator" "http://localhost:8011/health" -check_service "Agent Registry" "http://localhost:8012/health" -check_service "OpenClaw Service" "http://localhost:8013/health" -check_service "AI Service" "http://localhost:8009/health" -check_service "Web UI" "http://localhost:8016/health" +check_service "Learning Service" "http://localhost:8011/health" +check_service "Agent Coordinator" "http://localhost:8012/health" +check_service "Agent Registry" "http://localhost:8013/health" +check_service "OpenClaw Service" "http://localhost:8014/health" +check_service "AI Service" "http://localhost:8015/health" # Other Services (8020-8029) echo "" echo "📊 Other Services (8020-8029):" check_service "Multimodal Service" "http://localhost:8020/health" -check_service "Explorer" "http://localhost:8022/health" -check_service "Modality Optimization" "http://localhost:8023/health" +check_service "Modality Optimization" "http://localhost:8021/health" # Check process status echo "" diff --git a/systemd/aitbc-learning.service b/systemd/aitbc-learning.service index 5eabcf65..42029df6 100644 --- a/systemd/aitbc-learning.service +++ b/systemd/aitbc-learning.service @@ -9,7 +9,7 @@ User=root Group=root WorkingDirectory=/opt/aitbc/apps/coordinator-api/ Environment=PYTHONPATH=/opt/aitbc/apps/coordinator-api/src:/opt/aitbc/packages/py/aitbc-sdk/src:/opt/aitbc/packages/py/aitbc-crypto/src -ExecStart=/opt/aitbc/venv/bin/python -m uvicorn app.services.adaptive_learning_app:app --host 127.0.0.1 --port 8010 +ExecStart=/opt/aitbc/venv/bin/python -m uvicorn app.services.adaptive_learning_app:app --host 127.0.0.1 --port 8011 ExecReload=/bin/kill -HUP $MAINPID KillMode=mixed TimeoutStopSec=5 diff --git a/systemd/aitbc-modality-optimization.service b/systemd/aitbc-modality-optimization.service index a322d32f..5df4ec54 100644 --- a/systemd/aitbc-modality-optimization.service +++ b/systemd/aitbc-modality-optimization.service @@ -9,7 +9,7 @@ User=debian Group=debian WorkingDirectory=/home/oib/aitbc/apps/coordinator-api Environment=PATH=/usr/bin -ExecStart=/usr/bin/python3 -m uvicorn src.app.services.modality_optimization_app:app --host 127.0.0.1 --port 8023 +ExecStart=/usr/bin/python3 -m uvicorn src.app.services.modality_optimization_app:app --host 127.0.0.1 --port 8021 ExecReload=/bin/kill -HUP $MAINPID KillMode=mixed TimeoutStopSec=5 diff --git a/systemd/aitbc-openclaw.service b/systemd/aitbc-openclaw.service index 42cd7bb5..03a00cec 100644 --- a/systemd/aitbc-openclaw.service +++ b/systemd/aitbc-openclaw.service @@ -9,7 +9,7 @@ User=debian Group=debian WorkingDirectory=/home/oib/aitbc/apps/coordinator-api Environment=PATH=/usr/bin -ExecStart=/usr/bin/python3 -m uvicorn src.app.routers.openclaw_enhanced_app:app --host 127.0.0.1 --port 8013 +ExecStart=/usr/bin/python3 -m uvicorn src.app.routers.openclaw_enhanced_app:app --host 127.0.0.1 --port 8014 ExecReload=/bin/kill -HUP $MAINPID KillMode=mixed TimeoutStopSec=5 diff --git a/systemd/aitbc-web-ui.service b/systemd/aitbc-web-ui.service index 705f501c..20baa590 100644 --- a/systemd/aitbc-web-ui.service +++ b/systemd/aitbc-web-ui.service @@ -11,10 +11,10 @@ Group=aitbc WorkingDirectory=/opt/aitbc/apps/explorer-web/dist Environment=PATH=/usr/bin:/bin Environment=PYTHONPATH=/opt/aitbc/apps/explorer-web/dist -Environment=PORT=8016 +Environment=PORT=8007 Environment=SERVICE_TYPE=web-ui Environment=LOG_LEVEL=INFO -ExecStart=/usr/bin/python3 -m http.server 8016 --bind 127.0.0.1 +ExecStart=/usr/bin/python3 -m http.server 8007 --bind 127.0.0.1 ExecReload=/bin/kill -HUP $MAINPID Restart=always RestartSec=10