{
  "title": "Or with memory increase",
  "content": "fly machine update <machine-id> --vm-memory 2048 --command \"node dist/index.js gateway --port 3000 --bind lan\" -y\nbash theme={null}",
  "code_samples": [
    {
      "code": "**Note:** After `fly deploy`, the machine command may reset to what's in `fly.toml`. If you made manual changes, re-apply them after deploy.\n\n## Private Deployment (Hardened)\n\nBy default, Fly allocates public IPs, making your gateway accessible at `https://your-app.fly.dev`. This is convenient but means your deployment is discoverable by internet scanners (Shodan, Censys, etc.).\n\nFor a hardened deployment with **no public exposure**, use the private template.\n\n### When to use private deployment\n\n* You only make **outbound** calls/messages (no inbound webhooks)\n* You use **ngrok or Tailscale** tunnels for any webhook callbacks\n* You access the gateway via **SSH, proxy, or WireGuard** instead of browser\n* You want the deployment **hidden from internet scanners**\n\n### Setup\n\nUse `fly.private.toml` instead of the standard config:",
      "language": "unknown"
    }
  ],
  "headings": [
    {
      "level": "h2",
      "text": "Private Deployment (Hardened)",
      "id": "private-deployment-(hardened)"
    },
    {
      "level": "h3",
      "text": "When to use private deployment",
      "id": "when-to-use-private-deployment"
    },
    {
      "level": "h3",
      "text": "Setup",
      "id": "setup"
    }
  ],
  "url": "llms-txt#or-with-memory-increase",
  "links": []
}