Files
soul-yongping/soul-api/deploy/docker-compose.runner.yml
Alex-larget 6df1736e1e 1
2026-03-20 14:47:37 +08:00

22 lines
617 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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: