fix: resolve real marketplace service issues
✅ Fixed Real Marketplace Service - Created real_marketplace_launcher.py to avoid uvicorn workers warning - Fixed read-only file system issue by creating log directory - Updated systemd service to use launcher script - Real marketplace now operational on port 8009 ✅ Marketplace Services Summary - Port 8002: GPU Resource Marketplace (GPU listings and bids) - Port 8009: AI Services Marketplace (OpenClaw agents + Ollama) - Both services now operational with distinct purposes 🚀 Two distinct marketplace services are now working correctly!
This commit is contained in:
22
production/services/real_marketplace_launcher.py
Executable file
22
production/services/real_marketplace_launcher.py
Executable file
@@ -0,0 +1,22 @@
|
||||
#!/usr/bin/env python3
|
||||
"""
|
||||
Real Marketplace Service Launcher
|
||||
"""
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
# Add production services to path
|
||||
sys.path.insert(0, '/opt/aitbc/production/services')
|
||||
|
||||
# Import and run the real marketplace app
|
||||
from real_marketplace import app
|
||||
import uvicorn
|
||||
|
||||
# Run the app
|
||||
uvicorn.run(
|
||||
app,
|
||||
host='0.0.0.0',
|
||||
port=int(os.getenv('REAL_MARKETPLACE_PORT', 8009)),
|
||||
log_level='info'
|
||||
)
|
||||
Reference in New Issue
Block a user