{
  "manifest_version": "1.0.0",
  "template": {
    "id": "636db90f-b861-4826-9bdb-70263892a5fb",
    "slug": "valkey-1",
    "name": "Valkey",
    "description": "A distributed key-value database for caching and realtime workloads.",
    "url": "https://railway.com/deploy/valkey-1",
    "upstream": {
      "image": "valkey/valkey"
    }
  },
  "services": [
    {
      "name": "Valkey",
      "source": {
        "image": "valkey/valkey"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "tcp_ports": [
        6379
      ],
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "VALKEY_EXTRA_FLAGS",
      "service": "Valkey",
      "description": "CLI Flags for Valkey Server",
      "secret": true,
      "strategy": "default",
      "default": "--save 60 10 --loglevel warning"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "valkey-1"
      }
    },
    "cli": "railway deploy --template valkey-1",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "636db90f-b861-4826-9bdb-70263892a5fb",
            "serializedConfig": {
              "services": {
                "42c1165f-d37d-4a96-b39f-ee1e3220dd46": {
                  "name": "Valkey",
                  "source": {
                    "image": "valkey/valkey"
                  },
                  "variables": {
                    "VALKEY_EXTRA_FLAGS": {
                      "isOptional": true,
                      "description": "CLI Flags for Valkey Server",
                      "defaultValue": "--save 60 10 --loglevel warning"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "6379": {}
                    }
                  },
                  "volumeMounts": {
                    "42c1165f-d37d-4a96-b39f-ee1e3220dd46": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-20T10:14:37.339Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-18T18:08:31.439Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_f3ec041444e0482ba20c",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 48,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "Valkey"
  }
}
