refactor(ports): standardize service ports to 8000-8017 range and update CORS configurations across all services

- Update CORS allow_origins in blockchain-node app.py and gossip relay.py to use new port logic (8000-8016)
- Update coordinator-api config.py and config_pg.py with standardized port ranges and service labels
- Update coordinator-api health check script from port 18000 to 8000
- Update geo_load_balancer.py to use configurable host/port (default 0.0.0.0:8017)
- Update agent_security.py sandbox
This commit is contained in:
oib
2026-03-04 15:43:17 +01:00
parent 3df0a9ed62
commit 5534226895
57 changed files with 9690 additions and 126 deletions

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -euo pipefail
HEALTH_URL="http://127.0.0.1:18000/v1/health"
HEALTH_URL="http://127.0.0.1:8000/v1/health"
MAX_RETRIES=10
RETRY_DELAY=2

View File

@@ -148,4 +148,6 @@ async def create_app():
if __name__ == '__main__':
app = asyncio.run(create_app())
web.run_app(app, host='127.0.0.1', port=8080)
host = os.environ.get('HOST', '0.0.0.0')
port = int(os.environ.get('PORT', 8017))
web.run_app(app, host=host, port=port)