{
  "manifest_version": "1.0.0",
  "template": {
    "id": "e7f76f1d-4491-4878-a5c6-5850ab6255ce",
    "slug": "pulsar-1",
    "name": "Pulsar",
    "description": "Apache Pulsar — Kafka-compatible message streaming with web dashboard",
    "url": "https://railway.com/deploy/pulsar-1",
    "upstream": {
      "repo_url": "https://github.com/INAPP-Mobile/pulsar"
    }
  },
  "services": [
    {
      "name": "pulsar",
      "source": {
        "repo": "https://github.com/INAPP-Mobile/pulsar"
      },
      "needs_volume": true,
      "volume_mount_path": "/pulsar/data",
      "http": true
    },
    {
      "name": "pulsar-gui",
      "source": {
        "image": "bbonnin/pulsar-express:0.5.1"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PULSAR_DATA",
      "service": "pulsar",
      "description": "Pulsar data directory (BookKeeper ledgers + ZooKeeper/managed-metadata) on the attached persistent volume.",
      "secret": false,
      "strategy": "default",
      "default": "/pulsar/data"
    },
    {
      "key": "PULSAR_ADVERTISED_ADDRESS",
      "service": "pulsar",
      "description": "Host the broker advertises to clients (what pulsar://:6650 and pulsar+ws://:9091 point at). Defaults to the public domain for external access; set to the private domain to keep same-project traffic off the internet.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "PE_CONNECTION_URL",
      "service": "pulsar-gui",
      "description": "Admin API URL of the pulsar broker service. Leave as the default private-network reference.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "pulsar-1"
      }
    },
    "cli": "railway deploy --template pulsar-1",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "e7f76f1d-4491-4878-a5c6-5850ab6255ce",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "daed0ce7-6466-45b2-9e04-34cfb2b53257": {
                  "icon": null,
                  "name": "pulsar",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/INAPP-Mobile/pulsar",
                    "rootDirectory": null
                  },
                  "variables": {
                    "PULSAR_DATA": {
                      "isOptional": false,
                      "description": "Pulsar data directory (BookKeeper ledgers + ZooKeeper/managed-metadata) on the attached persistent volume.",
                      "defaultValue": "/pulsar/data"
                    },
                    "PULSAR_ADVERTISED_ADDRESS": {
                      "isOptional": false,
                      "description": "Host the broker advertises to clients (what pulsar://:6650 and pulsar+ws://:9091 point at). Defaults to the public domain for external access; set to the private domain to keep same-project traffic off the internet.",
                      "defaultValue": "${{RAILWAY_PUBLIC_DOMAIN}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "daed0ce7-6466-45b2-9e04-34cfb2b53257": {
                      "mountPath": "/pulsar/data"
                    }
                  }
                },
                "f3817bfe-93c5-4d61-bddc-c6eb142983f8": {
                  "icon": null,
                  "name": "pulsar-gui",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "bbonnin/pulsar-express:0.5.1"
                  },
                  "variables": {
                    "PE_CONNECTION_URL": {
                      "isOptional": false,
                      "description": "Admin API URL of the pulsar broker service. Leave as the default private-network reference.",
                      "defaultValue": "http://${{pulsar.RAILWAY_PRIVATE_DOMAIN}}:8080"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:3000": {
                        "port": 3000
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-09-14T22:14:43.073Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-14T20:59:56.882Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_06bc5d2fcf55463091d5",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 148,
    "typical_build_seconds": 0,
    "typical_start_seconds": 10,
    "slowest_service": "pulsar-gui"
  }
}
