graph TB
    subgraph "Docker Compose"
        GW_SVC[gateway 服务<br/>Node.js 运行时]
        CLI_SVC[cli 服务<br/>命令行交互]
        HC[健康检查<br/>端口 18789]
    end

    subgraph "Docker 镜像"
        BASE[Dockerfile<br/>多阶段构建]
        SB[Dockerfile.sandbox<br/>沙箱镜像]
        SBB[Dockerfile.sandbox-browser<br/>浏览器沙箱]
        SBC[Dockerfile.sandbox-common<br/>公共沙箱基础]
    end

    subgraph "其他部署"
        FLY[fly.toml<br/>Fly.io 部署]
        RENDER[render.yaml<br/>Render 部署]
        PODMAN[Podman<br/>无 root 容器]
    end

    GW_SVC --> BASE
    CLI_SVC --> BASE
    GW_SVC --> HC
    BASE --> SB & SBB & SBC