{
  "manifest_version": "1.0.0",
  "template": {
    "id": "2ab22b81-58c2-4a2f-94af-7f0c001b6098",
    "slug": "redis-ha-cluster-sentinel",
    "name": "🚀 Redis HA Cluster (Sentinel)",
    "description": "🚀 High-Availability Redis featuring Master-Replica with Redis Sentinel",
    "url": "https://railway.com/deploy/redis-ha-cluster-sentinel"
  },
  "services": [
    {
      "name": "redis-sentinel",
      "source": {
        "repo": "https://github.com/icueth/railway-template-redis-ha-cluster"
      },
      "needs_volume": false,
      "tcp_ports": [
        26379
      ],
      "http": false
    },
    {
      "name": "redis-replica",
      "source": {
        "repo": "https://github.com/icueth/railway-template-redis-ha-cluster"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "redis-master",
      "source": {
        "repo": "https://github.com/icueth/railway-template-redis-ha-cluster"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "MASTER_HOST",
      "service": "redis-sentinel",
      "description": "Provide a value for MASTER_HOST.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "redis-sentinel",
      "description": "Provide a value for REDIS_PASSWORD.",
      "secret": true,
      "strategy": "default",
      "default": "yourstrongpassword"
    },
    {
      "key": "MASTER_HOST",
      "service": "redis-replica",
      "description": "Provide a value for MASTER_HOST.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "redis-replica",
      "description": "Provide a value for REDIS_PASSWORD.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "redis-master",
      "description": "Provide a value for REDIS_PASSWORD.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "redis-ha-cluster-sentinel"
      }
    },
    "cli": "railway deploy --template redis-ha-cluster-sentinel",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "2ab22b81-58c2-4a2f-94af-7f0c001b6098",
            "serializedConfig": {
              "services": {
                "29223389-994b-4ee0-bbad-3eeaa1bc2e09": {
                  "icon": "https://devicons.railway.app/redis",
                  "name": "redis-sentinel",
                  "source": {
                    "repo": "icueth/railway-template-redis-ha-cluster",
                    "branch": null,
                    "rootDirectory": "/redis-sentinel"
                  },
                  "variables": {
                    "MASTER_HOST": {
                      "defaultValue": "${{redis-master.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDIS_PASSWORD": {
                      "description": "",
                      "defaultValue": "yourstrongpassword"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "26379": {}
                    }
                  }
                },
                "94ef1a85-5903-4ebe-8c4c-1e35dc5ecb93": {
                  "icon": "https://devicons.railway.app/redis",
                  "name": "redis-replica",
                  "source": {
                    "repo": "icueth/railway-template-redis-ha-cluster",
                    "branch": null,
                    "rootDirectory": "/redis-replica"
                  },
                  "variables": {
                    "MASTER_HOST": {
                      "defaultValue": "${{redis-master.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDIS_PASSWORD": {
                      "description": "",
                      "defaultValue": "${{redis-sentinel.REDIS_PASSWORD}}"
                    }
                  }
                },
                "e3808317-7399-4b8a-acfa-efe3e78a4531": {
                  "icon": "https://devicons.railway.app/Redis",
                  "name": "redis-master",
                  "source": {
                    "repo": "icueth/railway-template-redis-ha-cluster",
                    "branch": null,
                    "rootDirectory": "/redis-master"
                  },
                  "variables": {
                    "REDIS_PASSWORD": {
                      "description": "",
                      "defaultValue": "${{redis-sentinel.REDIS_PASSWORD}}"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 3,
    "needs_volume": false
  },
  "generated_at": "2026-09-22T16:14:56.866Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-20T21:47:33.916Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_7709176e5cf241908199",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 66,
    "typical_build_seconds": 20,
    "typical_start_seconds": 5,
    "slowest_service": "redis-replica"
  }
}
