{
  "manifest_version": "1.0.0",
  "template": {
    "id": "5ce60cdb-653e-49da-83fe-a6f4bba89c19",
    "slug": "opengist",
    "name": "Opengist",
    "description": "A Git-powered pastebin for versioned code snippets and notes.",
    "url": "https://railway.com/deploy/opengist",
    "upstream": {
      "image": "ghcr.io/thomiceli/opengist:1.14.0@sha256:692639712c24510a223264bf2540e1370fe3c0f44c9eddc6a832936e02446343"
    }
  },
  "services": [
    {
      "name": "Opengist",
      "source": {
        "image": "ghcr.io/thomiceli/opengist:1.14.0@sha256:692639712c24510a223264bf2540e1370fe3c0f44c9eddc6a832936e02446343"
      },
      "needs_volume": true,
      "volume_mount_path": "/opengist",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "OG_EXTERNAL_URL",
      "service": "Opengist",
      "description": "Provide a value for OG_EXTERNAL_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "opengist"
      }
    },
    "cli": "railway deploy --template opengist",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "5ce60cdb-653e-49da-83fe-a6f4bba89c19",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "e16ac753-6be7-4292-adac-31112102fd4b": {
                  "icon": "https://raw.githubusercontent.com/thomiceli/opengist/v1.14.0/public/img/opengist.svg",
                  "name": "Opengist",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/healthcheck",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/thomiceli/opengist:1.14.0@sha256:692639712c24510a223264bf2540e1370fe3c0f44c9eddc6a832936e02446343"
                  },
                  "variables": {
                    "OG_EXTERNAL_URL": {
                      "isOptional": false,
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "e16ac753-6be7-4292-adac-31112102fd4b": {
                      "mountPath": "/opengist"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Opengist",
      "method": "GET",
      "path": "/healthcheck",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-10T16:14:52.212Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-08T22:43:39.138Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_10ec4ecf81a5408a9d4e",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": false,
        "detail": "FAILED"
      }
    ]
  }
}
