{
  "manifest_version": "1.0.0",
  "template": {
    "id": "7e4dccbb-e0d0-4c28-bb85-f28cd5c5b2e0",
    "slug": "oryx",
    "name": "Oryx (SRS Stack) | Restream to YouTube, Twitch & More",
    "description": "Live streaming server: RTMP in, HLS out, restream, 24/7 virtual live, DVR",
    "url": "https://railway.com/deploy/oryx",
    "upstream": {
      "repo_url": "https://github.com/nomideusz/oryx-railway"
    }
  },
  "services": [
    {
      "name": "Oryx",
      "source": {
        "repo": "https://github.com/nomideusz/oryx-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "tcp_ports": [
        1935
      ],
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Oryx",
      "description": "Port of the Oryx console and HLS/FLV playback behind the Railway domain - leave as is",
      "secret": false,
      "strategy": "default",
      "default": "2022"
    },
    {
      "key": "MGMT_PASSWORD",
      "service": "Oryx",
      "description": "Password for the Oryx console - to change it, edit this variable and redeploy",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "REACT_APP_LOCALE",
      "service": "Oryx",
      "description": "Console language: en or zh",
      "secret": false,
      "strategy": "default",
      "default": "en"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "Oryx",
      "description": "Time to save settings cleanly on redeploy",
      "secret": false,
      "strategy": "default",
      "default": "30"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "oryx"
      }
    },
    "cli": "railway deploy --template oryx",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "7e4dccbb-e0d0-4c28-bb85-f28cd5c5b2e0",
            "serializedConfig": {
              "services": {
                "812cdab5-0719-48aa-bc23-f437064c751c": {
                  "icon": "https://raw.githubusercontent.com/nomideusz/oryx-railway/main/icon.png",
                  "name": "Oryx",
                  "build": {
                    "dockerfilePath": "Dockerfile"
                  },
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/terraform/v1/host/versions",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/nomideusz/oryx-railway",
                    "rootDirectory": "/"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port of the Oryx console and HLS/FLV playback behind the Railway domain - leave as is",
                      "defaultValue": "2022"
                    },
                    "MGMT_PASSWORD": {
                      "isOptional": false,
                      "description": "Password for the Oryx console - to change it, edit this variable and redeploy",
                      "defaultValue": "{{MGMT_PASSWORD}}"
                    },
                    "REACT_APP_LOCALE": {
                      "isOptional": false,
                      "description": "Console language: en or zh",
                      "defaultValue": "en"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": false,
                      "description": "Time to save settings cleanly on redeploy",
                      "defaultValue": "30"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "1935": {}
                    },
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "812cdab5-0719-48aa-bc23-f437064c751c": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Oryx",
      "method": "GET",
      "path": "/terraform/v1/host/versions",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-10-13T16:14:45.508Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-10-13T13:57:47.936Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_046cd4bfd59f4d819af8",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 69,
    "typical_build_seconds": 40,
    "typical_start_seconds": 10,
    "slowest_service": "Oryx"
  }
}
