{
  "manifest_version": "1.0.0",
  "template": {
    "id": "27248383-1851-4556-8604-1b1f6f93f4c9",
    "slug": "hister-private-sea-1",
    "name": "Hister - private search engine for pages and files",
    "description": "Private search for your web pages and local files.",
    "url": "https://railway.com/deploy/hister-private-sea-1",
    "upstream": {
      "image": "ghcr.io/asciimoo/hister:latest"
    }
  },
  "services": [
    {
      "name": "Hister",
      "source": {
        "image": "ghcr.io/asciimoo/hister:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/hister/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Hister",
      "description": "Internal Hister port. Keep 4433.",
      "secret": false,
      "strategy": "default",
      "default": "4433"
    },
    {
      "key": "HISTER_DATA_DIR",
      "service": "Hister",
      "description": "Persistent Hister data directory. Keep /hister/data.",
      "secret": false,
      "strategy": "default",
      "default": "/hister/data"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "Hister",
      "description": "Container user for the mounted volume. Keep 0.",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "HISTER__APP__PUBLIC",
      "service": "Hister",
      "description": "Keeps Hister private. Keep false so token access is required.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "HISTER__SERVER__ADDRESS",
      "service": "Hister",
      "description": "Hister listener address. Keep 0.0.0.0:4433.",
      "secret": false,
      "strategy": "default",
      "default": "0.0.0.0:4433"
    },
    {
      "key": "HISTER__SERVER__BASE_URL",
      "service": "Hister",
      "description": "Public HTTPS URL Railway generates for Hister.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "HISTER__APP__ACCESS_TOKEN",
      "service": "Hister",
      "description": "Generated token required to sign in to Hister.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "HISTER__APP__USER_HANDLING",
      "service": "Hister",
      "description": "Disables built-in user management. Keep false.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "hister-private-sea-1"
      }
    },
    "cli": "railway deploy --template hister-private-sea-1",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "27248383-1851-4556-8604-1b1f6f93f4c9",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "4a3812aa-2eff-4e20-a26f-f1b8a3855d51": {
                  "name": "Hister",
                  "deploy": {
                    "healthcheckPath": "/api/config"
                  },
                  "source": {
                    "image": "ghcr.io/asciimoo/hister:latest"
                  },
                  "variables": {
                    "PORT": {
                      "description": "Internal Hister port. Keep 4433.",
                      "defaultValue": "4433"
                    },
                    "HISTER_DATA_DIR": {
                      "description": "Persistent Hister data directory. Keep /hister/data.",
                      "defaultValue": "/hister/data"
                    },
                    "RAILWAY_RUN_UID": {
                      "description": "Container user for the mounted volume. Keep 0.",
                      "defaultValue": "0"
                    },
                    "HISTER__APP__PUBLIC": {
                      "description": "Keeps Hister private. Keep false so token access is required.",
                      "defaultValue": "false"
                    },
                    "HISTER__SERVER__ADDRESS": {
                      "description": "Hister listener address. Keep 0.0.0.0:4433.",
                      "defaultValue": "0.0.0.0:4433"
                    },
                    "HISTER__SERVER__BASE_URL": {
                      "description": "Public HTTPS URL Railway generates for Hister.",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "HISTER__APP__ACCESS_TOKEN": {
                      "description": "Generated token required to sign in to Hister.",
                      "defaultValue": "{{HISTER__APP__ACCESS_TOKEN}}"
                    },
                    "HISTER__APP__USER_HANDLING": {
                      "description": "Disables built-in user management. Keep false.",
                      "defaultValue": "false"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:4433": {
                        "port": 4433
                      }
                    }
                  },
                  "volumeMounts": {
                    "4a3812aa-2eff-4e20-a26f-f1b8a3855d51": {
                      "mountPath": "/hister/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Hister",
      "method": "GET",
      "path": "/api/config",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-16T22:14:52.145Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-14T20:26:45.524Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_7829627a78be48198896",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 82,
    "typical_build_seconds": 0,
    "typical_start_seconds": 11,
    "slowest_service": "Hister"
  }
}
