You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--fork <count> count of workers to spawn. uses "12" (available parallelism) workers when NODE_ENV is "production", otherwise "1" (the main) worker (default: 1 (env: FORK)
31
-
-c, --config-path <path> path to the configuration file. defaults to the following files respectively in the current working directory: gateway.ts, gateway.mts, gateway.cts, gateway.js, gateway.mjs, gateway.cjs (env: CONFIG_PATH)
32
-
-h, --host <hostname> host to use for serving (default: "0.0.0.0" (default: "0.0.0.0")
33
-
-p, --port <number> port to use for serving (default: 4000 (env: PORT)
34
-
--polling <duration> schema polling interval in human readable duration (default: "10s") (env: POLLING)
30
+
--fork <count> count of workers to spawn. uses "24" (available parallelism) workers when NODE_ENV is "production",
31
+
otherwise "1" (the main) worker (default: 1) (env: FORK)
32
+
-c, --config-path <path> path to the configuration file. defaults to the following files respectively in the current working
--hive-cdn-endpoint <endpoint> Hive CDN endpoint for fetching the schema (env: HIVE_CDN_ENDPOINT)
41
-
--hive-cdn-key <key> Hive CDN API key for fetching the schema. implies that the "schemaPathOrUrl" argument is a url (env: HIVE_CDN_KEY)
49
+
--hive-cdn-key <key> Hive CDN API key for fetching the schema. implies that the "schemaPathOrUrl" argument is a url (env:
50
+
HIVE_CDN_KEY)
42
51
--apollo-graph-ref <graphRef> Apollo graph ref of the managed federation graph (<YOUR_GRAPH_ID>@<VARIANT>) (env: APOLLO_GRAPH_REF)
43
52
--apollo-key <apiKey> Apollo API key to use to authenticate with the managed federation up link (env: APOLLO_KEY)
44
53
--disable-websockets Disable WebSockets support
@@ -47,9 +56,12 @@ Options:
47
56
--help display help for command
48
57
49
58
Commands:
50
-
supergraph [options] [schemaPathOrUrl] serve a Federation supergraph provided by a compliant composition tool such as Mesh Compose or Apollo Rover
51
-
subgraph [schemaPathOrUrl] serve a Federation subgraph that can be used with any Federation compatible router like Apollo Router/Gateway
52
-
proxy [options] [endpoint] serve a proxy to a GraphQL API and add additional features such as monitoring/tracing, caching, rate limiting, security, and more
59
+
supergraph [options] [schemaPathOrUrl] serve a Federation supergraph provided by a compliant composition tool such as Mesh Compose or Apollo
60
+
Rover
61
+
subgraph [schemaPathOrUrl] serve a Federation subgraph that can be used with any Federation compatible router like Apollo
62
+
Router/Gateway
63
+
proxy [options] [endpoint] serve a proxy to a GraphQL API and add additional features such as monitoring/tracing, caching, rate
0 commit comments