Use Fly.io when you want an always-on Docker-based deployment for Redop.Documentation Index
Fetch the complete documentation index at: https://redop.useagents.site/docs/llms.txt
Use this file to discover all available pages before exploring further.
Before you start
This guide assumes:- your server uses the HTTP transport
- the app binds
0.0.0.0 - the app reads
PORT
create-redop-app --transport http --deploy fly-io, the starter already generated:
Dockerfilefly.toml
fly.toml to the same internal port.
Fly.io fit
| Item | Value |
|---|---|
| Recommended transport | http |
| App shape | long-running Bun service in Docker |
| Required env vars | PORT is provided by Fly’s runtime and proxy setup |
| Deploy command | fly deploy |
| Generated files | Dockerfile, fly.toml |
| Recommended for | always-on deployments and Docker-based workflows |
Generated src/index.ts shape
Generated Dockerfile
Generated fly.toml
Deploy steps
- Install the Fly CLI and log in.
- From your project directory, run:
- Review
fly.tomland make sure the app’s internal port matches your Redop listener. - Deploy:
Port and machine expectations
- Keep the app listening on
PORTwith a default fallback like3000. - Keep the listener on
0.0.0.0. - Fly proxies traffic to your internal app port from
fly.toml. - If you need a separate health route, enable
health: trueorhealth: { path: "/health" }.
Verify the deployment
Replace the hostname with your Fly app hostname:- the app is reachable over HTTPS
/mcpreturns a valid JSON-RPC initialize result- your Fly machine stays up for MCP requests instead of behaving like a short-lived function