{
  "manifest_version": "1.0.0",
  "template": {
    "id": "62ff7bf9-44f5-43f4-aa75-cb33809d9ef9",
    "slug": "deploy-rsshub",
    "name": "RSSHub | Convert any website to RSS",
    "description": "1-Click Deploy RSSHub - Self-Hosted RSS Feeds for YouTube, GitHub & More",
    "url": "https://railway.com/deploy/deploy-rsshub",
    "upstream": {
      "image": "diygod/rsshub:chromium-bundled"
    }
  },
  "services": [
    {
      "name": "Redis",
      "source": {
        "image": "redis:8.2.1"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    },
    {
      "name": "RSSHub",
      "source": {
        "image": "diygod/rsshub:chromium-bundled"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "REDISHOST",
      "service": "Redis",
      "description": "Internal hostname for Redis service",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDISPORT",
      "service": "Redis",
      "description": "Default Redis server port",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "REDISUSER",
      "service": "Redis",
      "description": "Redis authentication username",
      "secret": false,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "REDIS_URL",
      "service": "Redis",
      "description": "Internal Redis connection URI",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDISPASSWORD",
      "service": "Redis",
      "description": "Redis password alias variable",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "Redis",
      "description": "Password for Redis authentication",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "REDIS_PUBLIC_URL",
      "service": "Redis",
      "description": "External Redis connection string",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PORT",
      "service": "RSSHub",
      "description": "HTTP server listening port",
      "secret": false,
      "strategy": "default",
      "default": "1200"
    },
    {
      "key": "NODE_ENV",
      "service": "RSSHub",
      "description": "Run Node.js in production mode",
      "secret": false,
      "strategy": "default",
      "default": "production"
    },
    {
      "key": "REDIS_URL",
      "service": "RSSHub",
      "description": "Redis connection string for caching",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "CACHE_TYPE",
      "service": "RSSHub",
      "description": "Use Redis as cache backend",
      "secret": false,
      "strategy": "default",
      "default": "redis"
    },
    {
      "key": "CACHE_EXPIRE",
      "service": "RSSHub",
      "description": "Metadata cache expiration time seconds",
      "secret": false,
      "strategy": "default",
      "default": "1800"
    },
    {
      "key": "CACHE_CONTENT_EXPIRE",
      "service": "RSSHub",
      "description": "Content cache expiration time seconds",
      "secret": false,
      "strategy": "default",
      "default": "14400"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "deploy-rsshub"
      }
    },
    "cli": "railway deploy --template deploy-rsshub",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "62ff7bf9-44f5-43f4-aa75-cb33809d9ef9",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "7fa46e3e-416d-4d09-ab08-1c5e909f92af": {
                  "icon": "https://cdn.sanity.io/images/sy1jschh/production/0ce0bfdcfbdbf69662b1116671f97c2dd788b655-157x157.svg",
                  "name": "Redis",
                  "deploy": {
                    "startCommand": "/bin/sh -c \"rm -rf $RAILWAY_VOLUME_MOUNT_PATH/lost+found/ && exec docker-entrypoint.sh redis-server --requirepass $REDIS_PASSWORD --save 60 1 --dir $RAILWAY_VOLUME_MOUNT_PATH\"",
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "redis:8.2.1"
                  },
                  "variables": {
                    "REDISHOST": {
                      "isOptional": false,
                      "description": "Internal hostname for Redis service",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDISPORT": {
                      "isOptional": false,
                      "description": "Default Redis server port",
                      "defaultValue": "6379"
                    },
                    "REDISUSER": {
                      "isOptional": false,
                      "description": "Redis authentication username",
                      "defaultValue": "default"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Internal Redis connection URI",
                      "defaultValue": "redis://${{REDISUSER}}:${{REDIS_PASSWORD}}@${{REDISHOST}}:${{REDISPORT}}"
                    },
                    "REDISPASSWORD": {
                      "isOptional": false,
                      "description": "Redis password alias variable",
                      "defaultValue": "${{REDIS_PASSWORD}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Password for Redis authentication",
                      "defaultValue": "{{REDIS_PASSWORD}}"
                    },
                    "REDIS_PUBLIC_URL": {
                      "isOptional": false,
                      "description": "External Redis connection string",
                      "defaultValue": "redis://default:${{REDIS_PASSWORD}}@${{RAILWAY_TCP_PROXY_DOMAIN}}:${{RAILWAY_TCP_PROXY_PORT}}"
                    }
                  },
                  "volumeMounts": {
                    "7fa46e3e-416d-4d09-ab08-1c5e909f92af": {
                      "mountPath": "/data"
                    }
                  },
                  "haTemplateCode": "redis-ha",
                  "haConversionConfig": {
                    "edge": {
                      "label": "Reverse Proxies",
                      "options": [
                        1,
                        2
                      ],
                      "nodeLabel": "HAProxy",
                      "description": "HAProxy instances routing writes to the primary",
                      "defaultValue": 2
                    },
                    "replica": {
                      "label": "Redis Replicas",
                      "options": [
                        2,
                        3,
                        4,
                        5
                      ],
                      "nodeLabel": "Redis",
                      "description": "Nodes running Redis + colocated Sentinel",
                      "defaultValue": 2
                    },
                    "internal": null,
                    "description": "This will convert your Redis instance to an HA cluster with Sentinel failover and HAProxy routing to the primary."
                  }
                },
                "83a6acb0-76bb-4217-8cdc-0eb4c0baf93e": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/rsshub.png",
                  "name": "RSSHub",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "diygod/rsshub:chromium-bundled"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "HTTP server listening port",
                      "defaultValue": "1200"
                    },
                    "NODE_ENV": {
                      "isOptional": false,
                      "description": "Run Node.js in production mode",
                      "defaultValue": "production"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Redis connection string for caching",
                      "defaultValue": "${{Redis.URL}}"
                    },
                    "CACHE_TYPE": {
                      "isOptional": false,
                      "description": "Use Redis as cache backend",
                      "defaultValue": "redis"
                    },
                    "CACHE_EXPIRE": {
                      "isOptional": false,
                      "description": "Metadata cache expiration time seconds",
                      "defaultValue": "1800"
                    },
                    "CACHE_CONTENT_EXPIRE": {
                      "isOptional": false,
                      "description": "Content cache expiration time seconds",
                      "defaultValue": "14400"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-20T17:50:30.894Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_ffbb9072040444429418",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 45,
    "typical_build_seconds": 0,
    "typical_start_seconds": 10,
    "slowest_service": "RSSHub"
  }
}
