{
  "manifest_version": "1.0.0",
  "template": {
    "id": "7bffd834-8aa8-4182-a3d1-629677927574",
    "slug": "backend",
    "name": "PocketBase",
    "description": "Open Source Go Backend that Includes Embedded Database (SQLite)",
    "url": "https://railway.com/deploy/backend",
    "upstream": {
      "repo_url": "https://github.com/OpenSource-Templates/PocketBase"
    }
  },
  "services": [
    {
      "name": "PocketBase",
      "source": {
        "repo": "https://github.com/OpenSource-Templates/PocketBase"
      },
      "needs_volume": true,
      "volume_mount_path": "/pb/pb_data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "PocketBase",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "backend"
      }
    },
    "cli": "railway deploy --template backend",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "7bffd834-8aa8-4182-a3d1-629677927574",
            "serializedConfig": {
              "services": {
                "7f4e0cce-581a-4f7f-8909-fbab77a7d60a": {
                  "icon": "https://i.imgur.com/4L6D0CZ.png",
                  "name": "PocketBase",
                  "source": {
                    "repo": "OpenSource-Templates/PocketBase",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "8080"
                    }
                  },
                  "volumeMounts": {
                    "7f4e0cce-581a-4f7f-8909-fbab77a7d60a": {
                      "mountPath": "/pb/pb_data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-22T22:14:50.114Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-20T23:04:34.364Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_fb5bda199caa432aa6c2",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 62,
    "typical_build_seconds": 15,
    "typical_start_seconds": 10,
    "slowest_service": "PocketBase"
  }
}
