Files
aitbc/scripts/start-coordinator-api.sh
oib 5534226895 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
2026-03-04 15:43:17 +01:00

7 lines
323 B
Bash
Executable File

#!/bin/bash
cd /opt/aitbc/apps/coordinator-api
export PATH=/opt/aitbc/apps/coordinator-api/.venv/bin
export PYTHONPATH=/opt/aitbc/apps/coordinator-api/src
export MINER_API_KEYS='["miner_test_abc123"]'
exec /opt/aitbc/apps/coordinator-api/.venv/bin/python -m uvicorn app.main:app --host 0.0.0.0 --port 8000 --log-level info