#!/bin/bash # worker 启动脚本:监听 0.0.0.0:8187(防火墙仅放行网关 IP)。 cd "$(dirname "$0")" exec ./venv/bin/uvicorn app:app --host 0.0.0.0 --port 8187