{
  "manifest_version": "1.0.0",
  "template": {
    "id": "e9683877-af2b-45aa-911b-0e59be5223f6",
    "slug": "soketi-or-just-updated-pusher-compatible",
    "name": "Soketi | (Just Updated) Pusher-Compatible WebSockets, Port Fixed for Railway",
    "description": "Self-hosted Pusher-compatible WebSocket server, port wired for Railway",
    "url": "https://railway.com/deploy/soketi-or-just-updated-pusher-compatible",
    "upstream": {
      "image": "quay.io/soketi/soketi:1.6.1-16-debian@sha256:713223456cf16459833f9cccef5711055e9c546bf88d910bbd817601563ef762"
    }
  },
  "services": [
    {
      "name": "soketi",
      "source": {
        "image": "quay.io/soketi/soketi:1.6.1-16-debian@sha256:713223456cf16459833f9cccef5711055e9c546bf88d910bbd817601563ef762"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "SOKETI_DEFAULT_APP_ID",
      "service": "soketi",
      "description": "Provide a value for SOKETI_DEFAULT_APP_ID.",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "SOKETI_DEFAULT_APP_KEY",
      "service": "soketi",
      "description": "Provide a value for SOKETI_DEFAULT_APP_KEY.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "SOKETI_DEFAULT_APP_SECRET",
      "service": "soketi",
      "description": "Provide a value for SOKETI_DEFAULT_APP_SECRET.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "soketi-or-just-updated-pusher-compatible"
      }
    },
    "cli": "railway deploy --template soketi-or-just-updated-pusher-compatible",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "e9683877-af2b-45aa-911b-0e59be5223f6",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "f9476924-f83b-4124-9927-8215c587b42e": {
                  "icon": null,
                  "name": "soketi",
                  "deploy": {
                    "startCommand": "/bin/sh -c 'SOKETI_PORT=$PORT exec node /app/bin/server.js start'",
                    "healthcheckPath": "/ready",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "quay.io/soketi/soketi:1.6.1-16-debian@sha256:713223456cf16459833f9cccef5711055e9c546bf88d910bbd817601563ef762"
                  },
                  "variables": {
                    "SOKETI_DEFAULT_APP_ID": {
                      "isOptional": false,
                      "defaultValue": "{{SOKETI_DEFAULT_APP_ID}}"
                    },
                    "SOKETI_DEFAULT_APP_KEY": {
                      "isOptional": false,
                      "defaultValue": "{{SOKETI_DEFAULT_APP_KEY}}"
                    },
                    "SOKETI_DEFAULT_APP_SECRET": {
                      "isOptional": false,
                      "defaultValue": "{{SOKETI_DEFAULT_APP_SECRET}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "soketi",
      "method": "GET",
      "path": "/ready",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-10-13T22:14:42.035Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-10-13T20:18:55.398Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_737b59a61f0f4d2284b5",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 26,
    "typical_build_seconds": 0,
    "typical_start_seconds": 11,
    "slowest_service": "soketi"
  }
}
