{
  "manifest_version": "1.0.0",
  "template": {
    "id": "de314772-9323-47e8-a36c-9f45ef197fc2",
    "slug": "rss",
    "name": "RSS",
    "description": "Create custom RSS feeds from any site or social media network.",
    "url": "https://railway.com/deploy/rss",
    "upstream": {
      "image": "ghcr.io/diygod/rsshub:latest"
    }
  },
  "services": [
    {
      "name": "RSSHub",
      "source": {
        "image": "ghcr.io/diygod/rsshub:latest"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "Browserless",
      "source": {
        "image": "browserless/chrome:latest"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "Redis",
      "source": {
        "image": "redis:8.2.1"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "tcp_ports": [
        6379
      ],
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "RSSHub",
      "description": "Provide a value for PORT.",
      "secret": false,
      "strategy": "default",
      "default": "1200"
    },
    {
      "key": "NODE_ENV",
      "service": "RSSHub",
      "description": "Production",
      "secret": false,
      "strategy": "default",
      "default": "production"
    },
    {
      "key": "REDIS_URL",
      "service": "RSSHub",
      "description": "Provide a value for REDIS_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "CACHE_TYPE",
      "service": "RSSHub",
      "description": "Using Redis as Cache",
      "secret": false,
      "strategy": "default",
      "default": "redis"
    },
    {
      "key": "ALLOW_ORIGIN",
      "service": "RSSHub",
      "description": "Avoid CORS errors",
      "secret": false,
      "strategy": "default",
      "default": "*"
    },
    {
      "key": "CACHE_EXPIRE",
      "service": "RSSHub",
      "description": "Provide a value for CACHE_EXPIRE.",
      "secret": false,
      "strategy": "default",
      "default": "\"1800"
    },
    {
      "key": "DISALLOW_ROBOT",
      "service": "RSSHub",
      "description": "Prevent indexing by search engine",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "REQUEST_TIMEOUT",
      "service": "RSSHub",
      "description": "Extend request time to avoid bad HTTP code",
      "secret": false,
      "strategy": "default",
      "default": "6000"
    },
    {
      "key": "CACHE_CONTENT_EXPIRE",
      "service": "RSSHub",
      "description": "Provide a value for CACHE_CONTENT_EXPIRE.",
      "secret": false,
      "strategy": "default",
      "default": "14400"
    },
    {
      "key": "PUPPETEER_WS_ENDPOINT",
      "service": "RSSHub",
      "description": "Provide a value for PUPPETEER_WS_ENDPOINT.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ALLOW_USER_HOTLINK_TEMPLATE",
      "service": "RSSHub",
      "description": "Enable Image Hotlink feature",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "DEBUG",
      "service": "Browserless",
      "description": "Suppress excessive logging",
      "secret": false,
      "strategy": "default",
      "default": "-*"
    },
    {
      "key": "REDISHOST",
      "service": "Redis",
      "description": "Provide a value for REDISHOST.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDISPORT",
      "service": "Redis",
      "description": "Provide a value for REDISPORT.",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "REDISUSER",
      "service": "Redis",
      "description": "Provide a value for REDISUSER.",
      "secret": false,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "REDIS_URL",
      "service": "Redis",
      "description": "Connection string for connecting to redis using the private network",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDISPASSWORD",
      "service": "Redis",
      "description": "Provide a value for REDISPASSWORD.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "Redis",
      "description": "Provide a value for REDIS_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "REDIS_PUBLIC_URL",
      "service": "Redis",
      "description": "Connection string for connecting to redis externally",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "rss"
      }
    },
    "cli": "railway deploy --template rss",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "de314772-9323-47e8-a36c-9f45ef197fc2",
            "serializedConfig": {
              "services": {
                "4adb3798-d2ce-42a1-9747-07d5301aff7d": {
                  "name": "RSSHub",
                  "deploy": {
                    "healthcheckPath": "healthz"
                  },
                  "source": {
                    "image": "ghcr.io/diygod/rsshub:latest"
                  },
                  "variables": {
                    "PORT": {
                      "defaultValue": "1200"
                    },
                    "NODE_ENV": {
                      "description": "Production",
                      "defaultValue": "production"
                    },
                    "REDIS_URL": {
                      "defaultValue": "${{Redis.REDIS_URL}}"
                    },
                    "CACHE_TYPE": {
                      "description": "Using Redis as Cache",
                      "defaultValue": "redis"
                    },
                    "ALLOW_ORIGIN": {
                      "description": "Avoid CORS errors",
                      "defaultValue": "*"
                    },
                    "CACHE_EXPIRE": {
                      "defaultValue": "\"1800"
                    },
                    "DISALLOW_ROBOT": {
                      "description": "Prevent indexing by search engine",
                      "defaultValue": "true"
                    },
                    "REQUEST_TIMEOUT": {
                      "description": "Extend request time to avoid bad HTTP code",
                      "defaultValue": "6000"
                    },
                    "CACHE_CONTENT_EXPIRE": {
                      "defaultValue": "14400"
                    },
                    "PUPPETEER_WS_ENDPOINT": {
                      "defaultValue": "ws://${{Browserless.RAILWAY_SERVICE_NAME}}:3000"
                    },
                    "ALLOW_USER_HOTLINK_TEMPLATE": {
                      "description": "Enable Image Hotlink feature",
                      "defaultValue": "true"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:1200": {
                        "port": 1200
                      }
                    }
                  }
                },
                "b3207c9f-392b-4cd7-8d89-ea1e83558592": {
                  "name": "Browserless",
                  "source": {
                    "image": "browserless/chrome:latest"
                  },
                  "variables": {
                    "DEBUG": {
                      "description": "Suppress excessive logging",
                      "defaultValue": "-*"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  }
                },
                "fb2873ae-6e44-4994-86ba-2ad545333ea7": {
                  "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\""
                  },
                  "source": {
                    "image": "redis:8.2.1"
                  },
                  "variables": {
                    "REDISHOST": {
                      "isOptional": false,
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDISPORT": {
                      "isOptional": false,
                      "defaultValue": "6379"
                    },
                    "REDISUSER": {
                      "isOptional": false,
                      "defaultValue": "default"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Connection string for connecting to redis using the private network",
                      "defaultValue": "redis://${{ REDISUSER }}:${{ REDIS_PASSWORD }}@${{ REDISHOST }}:${{ REDISPORT }}"
                    },
                    "REDISPASSWORD": {
                      "isOptional": false,
                      "defaultValue": "${{REDIS_PASSWORD}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{REDIS_PASSWORD}}"
                    },
                    "REDIS_PUBLIC_URL": {
                      "description": "Connection string for connecting to redis externally",
                      "defaultValue": "redis://default:${{ REDIS_PASSWORD }}@${{ RAILWAY_TCP_PROXY_DOMAIN }}:${{ RAILWAY_TCP_PROXY_PORT }}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "6379": {}
                    }
                  },
                  "volumeMounts": {
                    "fb2873ae-6e44-4994-86ba-2ad545333ea7": {
                      "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."
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "RSSHub",
      "method": "GET",
      "path": "healthz",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 3,
    "needs_volume": true
  },
  "generated_at": "2026-09-10T22:14:43.398Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-09T00:27:53.077Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_da8195092a2d4083be9c",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": false,
        "detail": "fetch failed"
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ]
  }
}
