{
  "manifest_version": "1.0.0",
  "template": {
    "id": "581f0cc5-e596-4e45-865d-ff890988171e",
    "slug": "dispatcher",
    "name": "Dispatcher",
    "description": "Dispatcher is a simple but powerful dashboard for your Railway templates",
    "url": "https://railway.com/deploy/dispatcher",
    "upstream": {
      "repo_url": "https://github.com/ThallesP/dispatcher"
    }
  },
  "services": [
    {
      "name": "Dispatcher",
      "source": {
        "repo": "https://github.com/ThallesP/dispatcher"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "DB_PATH",
      "service": "Dispatcher",
      "description": "Provide a value for DB_PATH.",
      "secret": false,
      "strategy": "default",
      "default": "/data/dispatcher.duckdb"
    },
    {
      "key": "CALLBACK_URL",
      "service": "Dispatcher",
      "description": "Provide a value for CALLBACK_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "dispatcher"
      }
    },
    "cli": "railway deploy --template dispatcher",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "581f0cc5-e596-4e45-865d-ff890988171e",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "cb463f76-4c6b-446d-a651-59da88e994d5": {
                  "icon": null,
                  "name": "Dispatcher",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/api/health",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "https://github.com/ThallesP/dispatcher",
                    "rootDirectory": null
                  },
                  "variables": {
                    "DB_PATH": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "/data/dispatcher.duckdb"
                    },
                    "CALLBACK_URL": {
                      "isOptional": false,
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}/api/auth/callback"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "cb463f76-4c6b-446d-a651-59da88e994d5": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Dispatcher",
      "method": "GET",
      "path": "/api/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-10T16:14:52.212Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-09T02:45:29.787Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_1236c695d2e6414ba61d",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 85,
    "typical_build_seconds": 45,
    "typical_start_seconds": 10,
    "slowest_service": "Dispatcher"
  }
}
