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
Copy file name to clipboardExpand all lines: docs/source/routing/self-hosted/managed-hosting/railway.mdx
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ The fastest way to deploy the Apollo Router on Railway is using the official tem
26
26
27
27
1.**Deploy the template**:
28
28
- Visit the [Apollo Router Template repository](https://github.com/apollographql/router-template)
29
-
- Click the "Deploy on Railway" button: [](https://railway.com/deploy/apollo-router)
29
+
- Click the **Deploy on Railway** button: [](https://railway.com/deploy/apollo-router)
30
30
31
31
2.**Configure your deployment**:
32
32
-**Template Name**: Enter a name for your deployment (e.g., `my-apollo-router`)
@@ -82,23 +82,23 @@ The Apollo Runtime container provides a production-ready router with sensible de
82
82
- Select **Deploy from GitHub repo**
83
83
- Connect and authorize your GitHub repository
84
84
85
-
2. **Configure the service**:
86
-
- Railway will automatically detect your Dockerfile and configure the service
87
-
- The build and deployment process will start automatically
85
+
2. **Railway automatically configures the service**:
86
+
- Railway detects your Dockerfile and configures the service
87
+
- The build and deployment process starts automatically
88
88
89
89
3. **Set environment variables**:
90
90
- In your project dashboard, go to the **Variables** tab
91
91
- Add `APOLLO_KEY` and set it to your Graph API key
92
92
- Add `APOLLO_GRAPH_REF` and set it to your graph reference
93
93
- Railway automatically provides the `PORT` variable
94
94
95
-
4. **Deploy**: Railway will automatically deploy your service after setting the environment variables
95
+
4. **Automatic deployment**: Railway automatically redeploys your service when environment variables are added
96
96
97
97
## Apollo MCP Server
98
98
99
99
The Apollo Runtime container includes an optional MCP (Model Context Protocol) server that provides AI assistants with structured access to your GraphQL schema and operations.
100
100
101
-
### Enabling MCP Server
101
+
### Enable the MCP Server
102
102
103
103
The MCP server is disabled by default. To enable it, set the `MCP_ENABLE` environment variable to `1`:
104
104
@@ -111,14 +111,14 @@ The MCP server is disabled by default. To enable it, set the `MCP_ENABLE` enviro
111
111
112
112
When enabled, the MCP server provides:
113
113
- Schema introspection capabilities for AI assistants
114
-
- Structured access to GraphQL operations
114
+
- Structured access to GraphQL operations
115
115
- Enhanced development experience with AI tools
116
116
117
117
## Configuration options
118
118
119
119
### Environment variables
120
120
121
-
The router accepts several environment variables for configuration:
121
+
The router accepts multiple environment variables for configuration:
122
122
123
123
- `APOLLO_KEY`: Your Graph API key (required)
124
124
- `APOLLO_GRAPH_REF`: Your graph reference (required)
@@ -195,7 +195,7 @@ Railway automatically handles scaling based on your usage:
195
195
### Common issues
196
196
197
197
1. **Service won't start**:
198
-
- Check that `APOLLO_KEY` and `APOLLO_GRAPH_REF` are correctly set in the Variables tab
198
+
- Check that `APOLLO_KEY` and `APOLLO_GRAPH_REF` are correctly set in the **Variables** tab
199
199
- Verify your graph exists in GraphOS Studio
200
200
- Check deployment logs in the Railway dashboard
201
201
@@ -211,7 +211,7 @@ Railway automatically handles scaling based on your usage:
211
211
- Check that your Dockerfile is valid and the base image is accessible
212
212
- Review build logs in the Railway dashboard for specific error messages
213
213
214
-
### Getting help
214
+
### Get help
215
215
216
216
- Check the [Railway documentation](https://docs.railway.app/) for platform-specific issues
217
217
- Visit the [Apollo Router documentation](/router) for router configuration
Copy file name to clipboardExpand all lines: docs/source/routing/self-hosted/managed-hosting/render.mdx
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ The fastest way to deploy the Apollo Router on Render is using the official temp
26
26
27
27
1.**Deploy the template**:
28
28
- Visit the [Apollo Router Template repository](https://github.com/apollographql/router-template)
29
-
- Click the "Deploy to Render" button: [](https://render.com/deploy?repo=github.com/apollographql/router-template)
29
+
- Click the **Deploy to Render** button: [](https://render.com/deploy?repo=github.com/apollographql/router-template)
30
30
31
31
2.**Configure your service**:
32
32
-**Service Name**: Enter a name for your router service (e.g., `my-apollo-router`)
@@ -106,7 +106,7 @@ The Apollo Runtime container provides a production-ready router with sensible de
106
106
107
107
2. **Configure the service**:
108
108
- **Runtime**: Docker
109
-
- **Build Command**: Leave empty (Docker will handle the build)
109
+
- **Build Command**: Leave empty (Docker handles the build)
110
110
- **Start Command**: Leave empty (defined in Dockerfile)
111
111
112
112
3. **Set environment variables**:
@@ -120,7 +120,7 @@ The Apollo Runtime container provides a production-ready router with sensible de
120
120
121
121
The Apollo Runtime container includes an optional MCP (Model Context Protocol) server that provides AI assistants with structured access to your GraphQL schema and operations.
122
122
123
-
### Enabling MCP Server
123
+
### Enable the MCP Server
124
124
125
125
The MCP server is disabled by default. To enable it, set the `MCP_ENABLE` environment variable to `1`:
126
126
@@ -148,7 +148,7 @@ When enabled, the MCP server provides:
148
148
149
149
### Environment variables
150
150
151
-
The router accepts several environment variables for configuration:
151
+
The router accepts multiple environment variables for configuration:
152
152
153
153
- `APOLLO_KEY`: Your Graph API key (required)
154
154
- `APOLLO_GRAPH_REF`: Your graph reference (required)
@@ -171,7 +171,7 @@ To use a custom domain with your Render deployment:
171
171
172
172
## Security considerations
173
173
174
-
**Important security settings to review before production deployment:**
174
+
Important security settings to review before production deployment:
175
175
176
176
### CORS Configuration
177
177
The template includes development-friendly CORS settings that may not be suitable for production:
@@ -196,7 +196,7 @@ cors:
196
196
## Monitoring and observability
197
197
198
198
### Render metrics
199
-
Render provides built-in metrics for your service including:
199
+
Render provides built-in metrics for your service:
200
200
- CPU and memory usage
201
201
- Request metrics
202
202
- Response times
@@ -236,7 +236,7 @@ Render automatically handles scaling based on your service plan:
236
236
- Verify your `APOLLO_KEY` has the correct permissions
237
237
- Check that your `APOLLO_GRAPH_REF` format is correct (e.g., `graph-name@variant`)
238
238
239
-
### Getting help
239
+
### Get help
240
240
241
241
- Check the [Render documentation](https://render.com/docs) for platform-specific issues
242
242
- Visit the [Apollo Router documentation](/router) for router configuration
0 commit comments