{
  "manifest_version": "1.0.0",
  "template": {
    "id": "ec64186e-7933-43cb-b9bd-a8fe969ad623",
    "slug": "hister",
    "name": "Hister",
    "description": "Self-hosted full-text search over your own browsing history",
    "url": "https://railway.com/deploy/hister",
    "upstream": {
      "repo_url": "https://github.com/prime3679/railway-templates"
    }
  },
  "services": [
    {
      "name": "railway-templates",
      "source": {
        "repo": "https://github.com/prime3679/railway-templates"
      },
      "needs_volume": true,
      "volume_mount_path": "/hister/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "railway-templates",
      "description": "HTTP port Hister listens on; must match the public networking port.",
      "secret": false,
      "strategy": "default",
      "default": "4433"
    },
    {
      "key": "HISTER__SERVER__ADDRESS",
      "service": "railway-templates",
      "description": "Address and port the Hister server binds to inside the container.",
      "secret": false,
      "strategy": "default",
      "default": "0.0.0.0:4433"
    },
    {
      "key": "HISTER__SERVER__BASE_URL",
      "service": "railway-templates",
      "description": "Public base URL of Hister, derived from the Railway public domain.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "hister"
      }
    },
    "cli": "railway deploy --template hister",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "ec64186e-7933-43cb-b9bd-a8fe969ad623",
            "serializedConfig": {
              "services": {
                "bf672ad8-9526-44ee-9240-6e914e1a75be": {
                  "name": "railway-templates",
                  "deploy": {
                    "healthcheckPath": "/health"
                  },
                  "source": {
                    "repo": "prime3679/railway-templates",
                    "rootDirectory": "/hister"
                  },
                  "variables": {
                    "PORT": {
                      "description": "HTTP port Hister listens on; must match the public networking port.",
                      "defaultValue": "4433"
                    },
                    "HISTER__SERVER__ADDRESS": {
                      "description": "Address and port the Hister server binds to inside the container.",
                      "defaultValue": "0.0.0.0:4433"
                    },
                    "HISTER__SERVER__BASE_URL": {
                      "description": "Public base URL of Hister, derived from the Railway public domain.",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:4433": {
                        "port": 4433
                      }
                    }
                  },
                  "volumeMounts": {
                    "bf672ad8-9526-44ee-9240-6e914e1a75be": {
                      "mountPath": "/hister/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "railway-templates",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-10-16T22:14:44.134Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-10-16T21:10:58.824Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_10a8dcfaae054da68aa5",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": false,
        "detail": "FAILED"
      }
    ]
  }
}
