{
  "manifest_version": "1.0.0",
  "template": {
    "id": "ab584226-3e4b-43d2-89a1-7171bd5d8562",
    "slug": "zincsearch-1",
    "name": "ZincSearch",
    "description": "Lightweight search engine with a web UI and an Elasticsearch-style API",
    "url": "https://railway.com/deploy/zincsearch-1",
    "upstream": {
      "image": "public.ecr.aws/zinclabs/zincsearch:0.4.10"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "ZincSearch",
      "source": {
        "image": "public.ecr.aws/zinclabs/zincsearch:0.4.10"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "RAILWAY_RUN_UID",
      "service": "ZincSearch",
      "description": "Provide a value for RAILWAY_RUN_UID.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ZINC_FIRST_ADMIN_USER",
      "service": "ZincSearch",
      "description": "Provide a value for ZINC_FIRST_ADMIN_USER.",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "ZINC_FIRST_ADMIN_PASSWORD",
      "service": "ZincSearch",
      "description": "Provide a value for ZINC_FIRST_ADMIN_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "zincsearch-1"
      }
    },
    "cli": "railway deploy --template zincsearch-1",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "ab584226-3e4b-43d2-89a1-7171bd5d8562",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "bc85c6dd-dee0-46ca-8679-b95b7304534f": {
                  "icon": null,
                  "name": "ZincSearch",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "public.ecr.aws/zinclabs/zincsearch:0.4.10"
                  },
                  "variables": {
                    "RAILWAY_RUN_UID": {
                      "isOptional": false,
                      "defaultValue": "${{randomInt(0, 0)}}"
                    },
                    "ZINC_FIRST_ADMIN_USER": {
                      "isOptional": false,
                      "defaultValue": "{{ZINC_FIRST_ADMIN_USER}}"
                    },
                    "ZINC_FIRST_ADMIN_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{ZINC_FIRST_ADMIN_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:4080": {
                        "port": 4080
                      }
                    }
                  },
                  "volumeMounts": {
                    "bc85c6dd-dee0-46ca-8679-b95b7304534f": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-10-26T22:14:46.852Z",
  "generator_version": "0.1.0"
}
