{
  "manifest_version": "1.0.0",
  "template": {
    "id": "0a939e97-6c9a-4383-be96-55edef33998f",
    "slug": "gogs",
    "name": "Gogs",
    "description": "Painless self-hosted Git service with issues, wiki and pull requests",
    "url": "https://railway.com/deploy/gogs",
    "upstream": {
      "image": "gogs/gogs:0.14"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Gogs",
      "source": {
        "image": "gogs/gogs:0.14"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "gogs"
      }
    },
    "cli": "railway deploy --template gogs",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "0a939e97-6c9a-4383-be96-55edef33998f",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "c5c5ef8d-01cd-41f2-804d-365f784a2bb7": {
                  "icon": null,
                  "name": "Gogs",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "gogs/gogs:0.14"
                  },
                  "variables": {},
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:3000": {
                        "port": 3000
                      }
                    }
                  },
                  "volumeMounts": {
                    "c5c5ef8d-01cd-41f2-804d-365f784a2bb7": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-10-30T16:14:57.468Z",
  "generator_version": "0.1.0"
}
