- 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
7 lines
323 B
Bash
Executable File
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
|