{
  "manifest_version": "1.0.0",
  "template": {
    "id": "a65a75c8-7566-4bfb-8fd9-4fcccfc90879",
    "slug": "localai",
    "name": "LocalAI",
    "description": "The free, Open Source alternative to OpenAI, Claude and others.",
    "url": "https://railway.com/deploy/localai",
    "upstream": {
      "image": "localai/localai:latest-aio-cpu"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "localai",
      "source": {
        "image": "localai/localai:latest-aio-cpu"
      },
      "needs_volume": true,
      "volume_mount_path": "/build/models:cached",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "DEBUG",
      "service": "localai",
      "description": "Provide a value for DEBUG.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "localai"
      }
    },
    "cli": "railway deploy --template localai",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "a65a75c8-7566-4bfb-8fd9-4fcccfc90879",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "641108ce-5b74-4c38-87ff-8045db3a64fe": {
                  "icon": null,
                  "name": "localai",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "localai/localai:latest-aio-cpu"
                  },
                  "variables": {
                    "DEBUG": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "true"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "641108ce-5b74-4c38-87ff-8045db3a64fe": {
                      "mountPath": "/build/models:cached"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-05T23:54:15.610Z",
  "generator_version": "0.1.0"
}
