{
  "manifest_version": "1.0.0",
  "template": {
    "id": "f529420a-a1f3-473e-a2d0-f6db43471f79",
    "slug": "pocketbase-1",
    "name": "Pocketbase",
    "description": "[Jul'26] Secure scalable backend with persistence, easy deploy & check.",
    "url": "https://railway.com/deploy/pocketbase-1",
    "upstream": {
      "repo_url": "https://github.com/codestorm-official/pocketbase"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "pocketbase",
      "source": {
        "repo": "https://github.com/codestorm-official/pocketbase"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "pocketbase",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "DATA_DIR",
      "service": "pocketbase",
      "description": "Provide a value for DATA_DIR.",
      "secret": false,
      "strategy": "default",
      "default": "/data"
    },
    {
      "key": "PB_VERSION",
      "service": "pocketbase",
      "description": "Provide a value for PB_VERSION.",
      "secret": false,
      "strategy": "default",
      "default": "0.39.4"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "pocketbase-1"
      }
    },
    "cli": "railway deploy --template pocketbase-1",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "f529420a-a1f3-473e-a2d0-f6db43471f79",
            "serializedConfig": {
              "services": {
                "93b8db1e-9d05-43f9-a9ff-55f084dea201": {
                  "icon": "https://devicons.railway.app/pocketbase",
                  "name": "pocketbase",
                  "source": {
                    "repo": "codestorm-official/pocketbase",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "defaultValue": "8080"
                    },
                    "DATA_DIR": {
                      "defaultValue": "/data"
                    },
                    "PB_SHA256": {
                      "isOptional": true,
                      "description": "This field is optional; you may leave it empty.",
                      "defaultValue": ""
                    },
                    "PB_VERSION": {
                      "defaultValue": "0.39.4"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "93b8db1e-9d05-43f9-a9ff-55f084dea201": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-05T05:54:13.276Z",
  "generator_version": "0.1.0"
}
