# soul-api Runner 部署 # 红蓝切换在容器内完成,宝塔固定 proxy_pass 到 127.0.0.1:9001 # 使用 network_mode: host,无需端口映射,避免 iptables DOCKER 链问题 # # 首次启动:docker compose -f docker-compose.runner.yml up -d # 部署新版本:上传 tar 后执行 deploy-runner-remote.sh services: soul-api-runner: build: context: .. dockerfile: deploy/Dockerfile.runner image: soul-api-runner:latest container_name: soul-api-runner network_mode: host volumes: - soul_runner_data:/app restart: unless-stopped volumes: soul_runner_data: