{
  "manifest_version": "1.0.0",
  "template": {
    "id": "9025b75c-d59b-48ae-b34c-9286cb552116",
    "slug": "rssbox",
    "name": "RSSBox",
    "description": "Auto-translate RSS feeds with DeepL & AI. Bilingual output supported.",
    "url": "https://railway.com/deploy/rssbox",
    "upstream": {
      "image": "versun/rssbox"
    }
  },
  "services": [
    {
      "name": "Redis",
      "source": {
        "image": "redis:7-alpine"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    },
    {
      "name": "RSSBox",
      "source": {
        "image": "versun/rssbox"
      },
      "needs_volume": true,
      "volume_mount_path": "/app/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "REDISHOST",
      "service": "Redis",
      "description": "Redis internal hostname for service discovery",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDISPORT",
      "service": "Redis",
      "description": "Redis server port",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "REDIS_URL",
      "service": "Redis",
      "description": "Redis connection URL for internal services",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PORT",
      "service": "RSSBox",
      "description": "Application port, don't change it",
      "secret": false,
      "strategy": "default",
      "default": "8000"
    },
    {
      "key": "SITE_URL",
      "service": "RSSBox",
      "description": "Full URL of your RSSBox instance",
      "secret": false,
      "strategy": "default",
      "default": "https://rss.your-site.com"
    },
    {
      "key": "REDIS_URL",
      "service": "RSSBox",
      "description": "Redis connection URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "CSRF_TRUSTED_ORIGINS",
      "service": "RSSBox",
      "description": "Trusted origins for CSRF protection, comma separated",
      "secret": false,
      "strategy": "default",
      "default": "https://rss.your-site.com"
    },
    {
      "key": "DEFAULT_TARGET_LANGUAGE",
      "service": "RSSBox",
      "description": "Default translation target language, see https://github.com/versun/RSSBox/blob/main/config/settings.py",
      "secret": false,
      "strategy": "default",
      "default": "Chinese Simplified"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "rssbox"
      }
    },
    "cli": "railway deploy --template rssbox",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "9025b75c-d59b-48ae-b34c-9286cb552116",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "d8f6719b-ce5f-4ce3-9c9e-589fef185540": {
                  "icon": "https://cdn.simpleicons.org/redis/DC382D.png",
                  "name": "Redis",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "redis:7-alpine"
                  },
                  "variables": {
                    "REDISHOST": {
                      "isOptional": false,
                      "description": "Redis internal hostname for service discovery",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDISPORT": {
                      "isOptional": false,
                      "description": "Redis server port",
                      "defaultValue": "6379"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Redis connection URL for internal services",
                      "defaultValue": "redis://${{RAILWAY_PRIVATE_DOMAIN}}:6379"
                    }
                  },
                  "volumeMounts": {
                    "d8f6719b-ce5f-4ce3-9c9e-589fef185540": {
                      "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."
                  }
                },
                "e5535649-c1a9-47be-bb5b-d13f89f355ac": {
                  "icon": "https://raw.githubusercontent.com/versun/rssbox/main/core/static/favicon.ico",
                  "name": "RSSBox",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": "/",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "versun/rssbox"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": false,
                      "description": "Application port, don't change it",
                      "defaultValue": "8000"
                    },
                    "SITE_URL": {
                      "isOptional": false,
                      "description": "Full URL of your RSSBox instance",
                      "defaultValue": "https://rss.your-site.com"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Redis connection URL",
                      "defaultValue": "${{Redis.REDIS_URL}}"
                    },
                    "CSRF_TRUSTED_ORIGINS": {
                      "isOptional": false,
                      "description": "Trusted origins for CSRF protection, comma separated",
                      "defaultValue": "https://rss.your-site.com"
                    },
                    "DEFAULT_TARGET_LANGUAGE": {
                      "isOptional": false,
                      "description": "Default translation target language, see https://github.com/versun/RSSBox/blob/main/config/settings.py",
                      "defaultValue": "Chinese Simplified"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {
                    "e5535649-c1a9-47be-bb5b-d13f89f355ac": {
                      "mountPath": "/app/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "RSSBox",
      "method": "GET",
      "path": "/",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T16:14:49.616Z",
  "generator_version": "0.1.0",
  "status": "degraded",
  "validated_at": "2026-09-18T08:39:54.946Z",
  "success_rate_30d": 0,
  "validation": {
    "last_run_id": "run_49ffd57d31564b42a171",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": false,
        "detail": "FAILED,SUCCESS"
      }
    ]
  }
}
