{
  "manifest_version": "1.0.0",
  "template": {
    "id": "e4e7e514-ce52-456f-8d15-d043344988c2",
    "slug": "redlib-1",
    "name": "redlib",
    "description": "Private front-end for Reddit",
    "url": "https://railway.com/deploy/redlib-1",
    "upstream": {
      "image": "quay.io/redlib/redlib"
    }
  },
  "services": [
    {
      "name": "redlib",
      "source": {
        "image": "quay.io/redlib/redlib"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "REDLIB_SFW_ONLY",
      "service": "redlib",
      "description": "Enables SFW-only mode for the instance, i.e. all NSFW content is filtered.",
      "secret": false,
      "strategy": "default",
      "default": "on"
    },
    {
      "key": "REDLIB_ENABLE_RSS",
      "service": "redlib",
      "description": "Enables RSS feed generation.",
      "secret": false,
      "strategy": "default",
      "default": "off"
    },
    {
      "key": "REDLIB_PUSHSHIFT_FRONTEND",
      "service": "redlib",
      "description": "Allows the server to set the Pushshift frontend to be used with \"removed\" links.",
      "secret": false,
      "strategy": "default",
      "default": "undelete.pullpush.io"
    },
    {
      "key": "REDLIB_ROBOTS_DISABLE_INDEXING",
      "service": "redlib",
      "description": "Disables indexing of the instance by search engines.",
      "secret": false,
      "strategy": "default",
      "default": "on"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "redlib-1"
      }
    },
    "cli": "railway deploy --template redlib-1",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "e4e7e514-ce52-456f-8d15-d043344988c2",
            "serializedConfig": {
              "services": {
                "93566747-7eda-4128-8080-27224ef7c13d": {
                  "icon": null,
                  "name": "redlib",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null
                  },
                  "source": {
                    "image": "quay.io/redlib/redlib"
                  },
                  "variables": {
                    "REDLIB_BANNER": {
                      "isOptional": true,
                      "description": "Allows the server to set a banner to be displayed. Currently this is displayed on the instance info page.",
                      "defaultValue": ""
                    },
                    "REDLIB_FULL_URL": {
                      "isOptional": true,
                      "description": "Allows for proper URLs (for now, only needed by RSS)",
                      "defaultValue": ""
                    },
                    "REDLIB_SFW_ONLY": {
                      "isOptional": true,
                      "description": "Enables SFW-only mode for the instance, i.e. all NSFW content is filtered.",
                      "defaultValue": "on"
                    },
                    "REDLIB_ENABLE_RSS": {
                      "isOptional": true,
                      "description": "Enables RSS feed generation.",
                      "defaultValue": "off"
                    },
                    "REDLIB_PUSHSHIFT_FRONTEND": {
                      "isOptional": true,
                      "description": "Allows the server to set the Pushshift frontend to be used with \"removed\" links.",
                      "defaultValue": "undelete.pullpush.io"
                    },
                    "REDLIB_ROBOTS_DISABLE_INDEXING": {
                      "isOptional": true,
                      "description": "Disables indexing of the instance by search engines.",
                      "defaultValue": "on"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-15T04:14:48.407Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-14T11:48:32.486Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_43dec102e9bb40adbd54",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 73,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "redlib"
  }
}
