{
  "manifest_version": "1.0.0",
  "template": {
    "id": "492ca6c1-2234-488f-940c-d597fae60ed0",
    "slug": "pQYeJx",
    "name": "Valkey",
    "description": "An open source, Redis compatible, in-memory data store",
    "url": "https://railway.com/deploy/pQYeJx",
    "upstream": {
      "image": "valkey/valkey:latest"
    }
  },
  "services": [
    {
      "name": "Valkey",
      "source": {
        "image": "valkey/valkey:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "tcp_ports": [
        6379
      ],
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "VALKEY_URL",
      "service": "Valkey",
      "description": "Private database URL",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "VALKEY_HOST",
      "service": "Valkey",
      "description": "Private hostname",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "VALKEY_PORT",
      "service": "Valkey",
      "description": "Private port",
      "secret": true,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "VALKEY_USER",
      "service": "Valkey",
      "description": "Default username",
      "secret": true,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "VALKEY_PASSWORD",
      "service": "Valkey",
      "description": "Authentication password",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "VALKEY_PUBLIC_URL",
      "service": "Valkey",
      "description": "Public database URL",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "VALKEY_PUBLIC_HOST",
      "service": "Valkey",
      "description": "Public hostname",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "VALKEY_PUBLIC_PORT",
      "service": "Valkey",
      "description": "Public port",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "pQYeJx"
      }
    },
    "cli": "railway deploy --template pQYeJx",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "492ca6c1-2234-488f-940c-d597fae60ed0",
            "serializedConfig": {
              "services": {
                "6aa3c943-9896-4766-998e-b961e49ca6f2": {
                  "icon": "https://res.cloudinary.com/h5kvzw/image/upload/v1713278076/Valkey-logo_yrnlsx.svg",
                  "name": "Valkey",
                  "build": {},
                  "deploy": {
                    "startCommand": "/bin/sh -c \"exec docker-entrypoint.sh valkey-server --port ${VALKEY_PORT} --requirepass ${VALKEY_PASSWORD}\""
                  },
                  "source": {
                    "image": "valkey/valkey:latest"
                  },
                  "variables": {
                    "VALKEY_URL": {
                      "description": "Private database URL",
                      "defaultValue": "redis://${{VALKEY_USER}}:${{VALKEY_PASSWORD}}@${{VALKEY_HOST}}:${{VALKEY_PORT}}"
                    },
                    "VALKEY_HOST": {
                      "description": "Private hostname",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "VALKEY_PORT": {
                      "description": "Private port",
                      "defaultValue": "6379"
                    },
                    "VALKEY_USER": {
                      "description": "Default username",
                      "defaultValue": "default"
                    },
                    "VALKEY_PASSWORD": {
                      "description": "Authentication password",
                      "defaultValue": "{{VALKEY_PASSWORD}}"
                    },
                    "VALKEY_PUBLIC_URL": {
                      "description": "Public database URL",
                      "defaultValue": "redis://${{VALKEY_USER}}:${{VALKEY_PASSWORD}}@${{VALKEY_PUBLIC_HOST}}:${{VALKEY_PUBLIC_PORT}}"
                    },
                    "VALKEY_PUBLIC_HOST": {
                      "description": "Public hostname",
                      "defaultValue": "${{RAILWAY_TCP_PROXY_DOMAIN}}"
                    },
                    "VALKEY_PUBLIC_PORT": {
                      "description": "Public port",
                      "defaultValue": "${{RAILWAY_TCP_PROXY_PORT}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "6379": {}
                    }
                  },
                  "volumeMounts": {
                    "6aa3c943-9896-4766-998e-b961e49ca6f2": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-18T22:14:40.474Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-16T21:32:12.649Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_5321965d162549f795dd",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 63,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "Valkey"
  }
}
