# Apollo Federation 2 Supergraph 组合配置(dev-apps 模式:仅启动 5 个 TS 子图) # # 适用场景:本地用 docker compose 启动 iam/classes/core-edu/content/msg/config-service/apollo-router/api-gateway/push-gateway # 不包含:ai(Python)、data-ana(Python)— 用户未要求启动 # # 与 supergraph.yaml 的差异: # - 删除 ai / data-ana 子图(避免 rover compose 因它们不可达而失败) # - 所有 routing_url 用容器名(iam:3002 等)而非 host.docker.internal federation_version: =2.9.0 subgraphs: iam: routing_url: http://iam:3002/graphql schema: subgraph_url: http://iam:3002/graphql core-edu: routing_url: http://core-edu:3004/graphql schema: subgraph_url: http://core-edu:3004/graphql content: routing_url: http://content:3005/graphql schema: subgraph_url: http://content:3005/graphql msg: routing_url: http://msg:3007/graphql schema: subgraph_url: http://msg:3007/graphql config: routing_url: http://config-service:3011/graphql schema: subgraph_url: http://config-service:3011/graphql