{
  "manifest_version": "1.0.0",
  "template": {
    "id": "7e8025ee-d5df-4481-bf2d-19f77bfb4b49",
    "slug": "pairdrop",
    "name": "PairDrop",
    "description": "Send files straight between two browsers, like AirDrop for the web",
    "url": "https://railway.com/deploy/pairdrop",
    "upstream": {
      "repo_url": "https://github.com/gridalpha/pairdrop-railway"
    }
  },
  "services": [
    {
      "name": "pairdrop",
      "source": {
        "repo": "https://github.com/gridalpha/pairdrop-railway"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "pairdrop",
      "description": "HTTP and WebSocket listener port",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "STUN_URLS",
      "service": "pairdrop",
      "description": "Comma-separated STUN server URLs",
      "secret": false,
      "strategy": "default",
      "default": "stun:stun.l.google.com:19302"
    },
    {
      "key": "RATE_LIMIT",
      "service": "pairdrop",
      "description": "Proxy hop count; also enables request limiter",
      "secret": false,
      "strategy": "default",
      "default": "2"
    },
    {
      "key": "WS_FALLBACK",
      "service": "pairdrop",
      "description": "Relay transfers through server; leave off",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "NODE_OPTIONS",
      "service": "pairdrop",
      "description": "Node heap ceiling for the container",
      "secret": false,
      "strategy": "default",
      "default": "--max-old-space-size=512"
    },
    {
      "key": "IPV6_LOCALIZE",
      "service": "pairdrop",
      "description": "IPv6 hextets grouping peers per network",
      "secret": false,
      "strategy": "default",
      "default": "4"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "pairdrop"
      }
    },
    "cli": "railway deploy --template pairdrop",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "7e8025ee-d5df-4481-bf2d-19f77bfb4b49",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "c2b7f373-8156-4839-8ae1-13a3dd958fbf": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/pairdrop.png",
                  "name": "pairdrop",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/config",
                    "restartPolicyType": "ALWAYS",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/gridalpha/pairdrop-railway",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "HTTP and WebSocket listener port",
                      "defaultValue": "3000"
                    },
                    "STUN_URLS": {
                      "isOptional": false,
                      "description": "Comma-separated STUN server URLs",
                      "defaultValue": "stun:stun.l.google.com:19302"
                    },
                    "TURN_URLS": {
                      "isOptional": true,
                      "description": "Optional comma-separated TURN server URLs",
                      "defaultValue": ""
                    },
                    "RATE_LIMIT": {
                      "isOptional": false,
                      "description": "Proxy hop count; also enables request limiter",
                      "defaultValue": "2"
                    },
                    "WS_FALLBACK": {
                      "isOptional": false,
                      "description": "Relay transfers through server; leave off",
                      "defaultValue": "false"
                    },
                    "NODE_OPTIONS": {
                      "isOptional": false,
                      "description": "Node heap ceiling for the container",
                      "defaultValue": "--max-old-space-size=512"
                    },
                    "IPV6_LOCALIZE": {
                      "isOptional": false,
                      "description": "IPv6 hextets grouping peers per network",
                      "defaultValue": "4"
                    },
                    "TURN_USERNAME": {
                      "isOptional": true,
                      "description": "Optional username for the TURN servers",
                      "defaultValue": ""
                    },
                    "TURN_CREDENTIAL": {
                      "isOptional": true,
                      "description": "Optional password for the TURN servers",
                      "defaultValue": ""
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:3000": {
                        "port": 3000
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "pairdrop",
      "method": "GET",
      "path": "/config",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-09T22:14:39.753Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-09T19:49:06.357Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_5b6bbb3425eb4512b47f",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 152,
    "typical_build_seconds": 20,
    "typical_start_seconds": 20,
    "slowest_service": "pairdrop"
  }
}
