{
  "manifest_version": "1.0.0",
  "template": {
    "id": "0df3c381-f9f6-4e41-ab2e-cb6a39246677",
    "slug": "redis-migrator",
    "name": "Redis Migrator",
    "description": "Migrate data from a source Redis to a target Redis database",
    "url": "https://railway.com/deploy/redis-migrator",
    "upstream": {
      "image": "riotx/riot"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Redis Migrator",
      "source": {
        "image": "riotx/riot"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "SOURCE_REDIS_URL",
      "service": "Redis Migrator",
      "description": "The `REDIS_URL` of the Redis database to copy data from",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "TARGET_REDIS_URL",
      "service": "Redis Migrator",
      "description": "The `REDIS_URL` of the Redis database to copy data to",
      "secret": false,
      "strategy": "ask_user"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "redis-migrator"
      }
    },
    "cli": "railway deploy --template redis-migrator",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "0df3c381-f9f6-4e41-ab2e-cb6a39246677",
            "serializedConfig": {
              "services": {
                "3639b2dc-f611-416c-ab1a-04bcbd5d386a": {
                  "name": "Redis Migrator",
                  "deploy": {
                    "startCommand": "/bin/sh -c \"exec riot replicate --mode live --progress=LOG --debug --info $SOURCE_REDIS_URL $TARGET_REDIS_URL 2>&1\"",
                    "preDeployCommand": ""
                  },
                  "source": {
                    "image": "riotx/riot"
                  },
                  "variables": {
                    "SOURCE_REDIS_URL": {
                      "description": "The `REDIS_URL` of the Redis database to copy data from",
                      "defaultValue": "{{SOURCE_REDIS_URL}}"
                    },
                    "TARGET_REDIS_URL": {
                      "description": "The `REDIS_URL` of the Redis database to copy data to",
                      "defaultValue": "{{TARGET_REDIS_URL}}"
                    }
                  },
                  "volumeMounts": {}
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-20T10:14:37.339Z",
  "generator_version": "0.1.0"
}
