{
  "manifest_version": "1.0.0",
  "template": {
    "id": "b6fb62d2-134f-4b04-8aa5-f857d070be0b",
    "slug": "soketi",
    "name": "Soketi",
    "description": "Next-gen, Pusher-compatible, open-source WebSockets server",
    "url": "https://railway.com/deploy/soketi",
    "upstream": {
      "image": "quay.io/soketi/soketi:1.6.1-16-debian"
    }
  },
  "services": [
    {
      "name": "Soketi",
      "source": {
        "image": "quay.io/soketi/soketi:1.6.1-16-debian"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Soketi",
      "description": "Lets Railway know what port soketi runs on",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "SOKETI_PUBLIC_HOST",
      "service": "Soketi",
      "description": "Public host for use in the pusher client as `wsHost`",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "SOKETI_PUBLIC_PORT",
      "service": "Soketi",
      "description": "Public port for use in the pusher client as `wsPort`",
      "secret": false,
      "strategy": "default",
      "default": "443"
    },
    {
      "key": "SOKETI_INTERNAL_HOST",
      "service": "Soketi",
      "description": "Private host for use in the pusher client as `wsHost`",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "SOKETI_INTERNAL_PORT",
      "service": "Soketi",
      "description": "Private port for use in the pusher client as `wsPort`",
      "secret": false,
      "strategy": "default",
      "default": "6001"
    },
    {
      "key": "SOKETI_DEFAULT_APP_ID",
      "service": "Soketi",
      "description": "Default app id",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "SOKETI_DEFAULT_APP_KEY",
      "service": "Soketi",
      "description": "Default app key",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "SOKETI_DEFAULT_APP_SECRET",
      "service": "Soketi",
      "description": "Default app secret",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "soketi"
      }
    },
    "cli": "railway deploy --template soketi",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "b6fb62d2-134f-4b04-8aa5-f857d070be0b",
            "serializedConfig": {
              "services": {
                "51a0421f-36af-499f-b25d-4d2ae39a5d95": {
                  "icon": "https://devicons.railway.app/Soketi?variant=light",
                  "name": "Soketi",
                  "build": {},
                  "deploy": {
                    "startCommand": "/bin/sh -c \"export AWS_SDK_JS_SUPPRESS_MAINTENANCE_MODE_MESSAGE=1; node /app/bin/server.js start\"",
                    "healthcheckPath": "/ready"
                  },
                  "source": {
                    "image": "quay.io/soketi/soketi:1.6.1-16-debian"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Lets Railway know what port soketi runs on",
                      "defaultValue": "${{SOKETI_INTERNAL_PORT}}"
                    },
                    "SOKETI_PUBLIC_HOST": {
                      "isOptional": false,
                      "description": "Public host for use in the pusher client as `wsHost`",
                      "defaultValue": "${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "SOKETI_PUBLIC_PORT": {
                      "isOptional": false,
                      "description": "Public port for use in the pusher client as `wsPort`",
                      "defaultValue": "443"
                    },
                    "SOKETI_INTERNAL_HOST": {
                      "isOptional": false,
                      "description": "Private host for use in the pusher client as `wsHost`",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "SOKETI_INTERNAL_PORT": {
                      "isOptional": false,
                      "description": "Private port for use in the pusher client as `wsPort`",
                      "defaultValue": "6001"
                    },
                    "SOKETI_DEFAULT_APP_ID": {
                      "isOptional": true,
                      "description": "Default app id",
                      "defaultValue": "{{SOKETI_DEFAULT_APP_ID}}"
                    },
                    "SOKETI_DEFAULT_APP_KEY": {
                      "isOptional": true,
                      "description": "Default app key",
                      "defaultValue": "{{SOKETI_DEFAULT_APP_KEY}}"
                    },
                    "SOKETI_DEFAULT_APP_SECRET": {
                      "isOptional": true,
                      "description": "Default app secret",
                      "defaultValue": "{{SOKETI_DEFAULT_APP_SECRET}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {}
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Soketi",
      "method": "GET",
      "path": "/ready",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-19T11:16:54.124Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_a890e79e9f574d57b41c",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 68,
    "typical_build_seconds": 0,
    "typical_start_seconds": 2,
    "slowest_service": "Soketi"
  }
}
