refactor: standardize systemd service port assignments and fix hardcoded paths

- Update blockchain RPC port from 8003 to 8006
- Update wallet service port from 8001 to 8002
- Update multimodal service port from 8002 to 8010
- Update modality optimization port from 8004 to 8012
- Update adaptive learning port from 8005 to 8013
- Update marketplace enhanced port from 8006 to 8014
- Update OpenClaw enhanced port from 8007 to 8015
- Update multimodal GPU port from 8010 to 8011
- Add port 8017 to geographic
This commit is contained in:
oib
2026-03-06 10:37:43 +01:00
parent a302da73a9
commit dc1561d457
12 changed files with 63 additions and 22 deletions

View File

@@ -12,12 +12,12 @@ Environment=PATH=/opt/aitbc/apps/coordinator-api/.venv/bin
Environment=PYTHONPATH=/opt/aitbc/apps/coordinator-api/src
Environment=PYTHONUNBUFFERED=1
Environment=PYTHONIOENCODING=utf-8
Environment=PORT=8001
Environment=PORT=8002
Environment=SERVICE_TYPE=wallet
Environment=LOG_LEVEL=INFO
# Python version validation
ExecStartPre=/bin/bash -c "python3 --version || (echo 'Python 3.13.5+ required' && exit 1)"
ExecStart=/opt/aitbc/apps/coordinator-api/.venv/bin/python -m uvicorn app.main:app --host 0.0.0.0 --port 8001
ExecStart=/opt/aitbc/apps/coordinator-api/.venv/bin/python -m uvicorn app.main:app --host 0.0.0.0 --port 8002
ExecReload=/bin/kill -HUP $MAINPID
Restart=always
RestartSec=5