{
  "manifest_version": "1.0.0",
  "template": {
    "id": "245916da-29fc-416a-8138-b4b302125044",
    "slug": "Ot34oR",
    "name": "Forgejo",
    "description": "Forgejo is a self-hosted lightweight software forge.",
    "url": "https://railway.com/deploy/Ot34oR",
    "upstream": {
      "image": "mstreicherde/forgejo"
    }
  },
  "services": [
    {
      "name": "Forgejo",
      "source": {
        "image": "mstreicherde/forgejo"
      },
      "needs_volume": true,
      "volume_mount_path": "/srv/git",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Forgejo",
      "description": "Port that Forgejo will be served under",
      "secret": false,
      "strategy": "default",
      "default": "3000"
    },
    {
      "key": "USER_GID",
      "service": "Forgejo",
      "description": "Provide a value for USER_GID.",
      "secret": false,
      "strategy": "default",
      "default": "1000"
    },
    {
      "key": "USER_UID",
      "service": "Forgejo",
      "description": "Provide a value for USER_UID.",
      "secret": false,
      "strategy": "default",
      "default": "1000"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "Ot34oR"
      }
    },
    "cli": "railway deploy --template Ot34oR",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "245916da-29fc-416a-8138-b4b302125044",
            "serializedConfig": {
              "services": {
                "e6005d28-9559-4968-a94e-430c05b0ec24": {
                  "icon": "https://forgejo.org/favicon.svg",
                  "name": "Forgejo",
                  "deploy": {
                    "healthcheckPath": "/"
                  },
                  "source": {
                    "image": "mstreicherde/forgejo"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Port that Forgejo will be served under",
                      "defaultValue": "3000"
                    },
                    "USER_GID": {
                      "defaultValue": "1000"
                    },
                    "USER_UID": {
                      "defaultValue": "1000"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "e6005d28-9559-4968-a94e-430c05b0ec24": {
                      "mountPath": "/srv/git"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Forgejo",
      "method": "GET",
      "path": "/",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-14T22:14:43.073Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-14T12:55:03.530Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_d2e6d4726e9b4ff195c4",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 72,
    "typical_build_seconds": 0,
    "typical_start_seconds": 2,
    "slowest_service": "Forgejo"
  }
}
