{
  "manifest_version": "1.0.0",
  "template": {
    "id": "61f9f879-9ac4-41e8-a0ce-7f2db9d62a7c",
    "slug": "harnessrouter",
    "name": "harnessrouter",
    "description": "Self-hosted AI agent workspace with web UI",
    "url": "https://railway.com/deploy/harnessrouter",
    "upstream": {
      "image": "harnessrouter/harnessrouter:0.20.1"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "app",
      "source": {
        "image": "harnessrouter/harnessrouter:0.20.1"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "app",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "HR_DATA_DIR",
      "service": "app",
      "description": "Provide a value for HR_DATA_DIR.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "HR_AUTH_USER",
      "service": "app",
      "description": "Provide a value for HR_AUTH_USER.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "HR_AUTH_PASSWORD",
      "service": "app",
      "description": "Provide a value for HR_AUTH_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "harnessrouter"
      }
    },
    "cli": "railway deploy --template harnessrouter",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "61f9f879-9ac4-41e8-a0ce-7f2db9d62a7c",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "a52bd84e-7d0e-431d-84e3-d7cf36adc5ae": {
                  "icon": null,
                  "name": "app",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "harnessrouter/harnessrouter:0.20.1"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "defaultValue": "{{PORT}}"
                    },
                    "HR_DATA_DIR": {
                      "isOptional": false,
                      "defaultValue": "{{HR_DATA_DIR}}"
                    },
                    "HR_AUTH_USER": {
                      "isOptional": false,
                      "defaultValue": "{{HR_AUTH_USER}}"
                    },
                    "HR_AUTH_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{HR_AUTH_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "a52bd84e-7d0e-431d-84e3-d7cf36adc5ae": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T10:14:37.339Z",
  "generator_version": "0.1.0"
}
