{
  "manifest_version": "1.0.0",
  "template": {
    "id": "3c42776d-2a52-4584-bef4-8f4330f6fe6b",
    "slug": "dragonfly-redis-alternative",
    "name": "Dragonfly | Redis-Compatible Data Store",
    "description": "Self Host Dragonfly. High-performance Redis-compatible data store",
    "url": "https://railway.com/deploy/dragonfly-redis-alternative",
    "upstream": {
      "image": "ghcr.io/dragonflydb/dragonfly:latest"
    }
  },
  "services": [
    {
      "name": "Dragonfly",
      "source": {
        "image": "ghcr.io/dragonflydb/dragonfly:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "DFLY_dir",
      "service": "Dragonfly",
      "description": "Snapshot persistence directory",
      "secret": false,
      "strategy": "default",
      "default": "/data"
    },
    {
      "key": "DFLY_maxmemory",
      "service": "Dragonfly",
      "description": "Memory limit (0 = auto-detect)",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "DFLY_dbfilename",
      "service": "Dragonfly",
      "description": "Snapshot file name prefix",
      "secret": false,
      "strategy": "default",
      "default": "dump"
    },
    {
      "key": "DFLY_requirepass",
      "service": "Dragonfly",
      "description": "Redis AUTH password",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "DFLY_proactor_threads",
      "service": "Dragonfly",
      "description": "IO thread pool size",
      "secret": false,
      "strategy": "default",
      "default": "4"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "dragonfly-redis-alternative"
      }
    },
    "cli": "railway deploy --template dragonfly-redis-alternative",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "3c42776d-2a52-4584-bef4-8f4330f6fe6b",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "05906c64-959f-47de-9da8-39d6ade7bb59": {
                  "icon": "https://www.dragonflydb.io/favicon.svg",
                  "name": "Dragonfly",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/dragonflydb/dragonfly:latest"
                  },
                  "variables": {
                    "DFLY_dir": {
                      "isOptional": false,
                      "description": "Snapshot persistence directory",
                      "defaultValue": "/data"
                    },
                    "DFLY_maxmemory": {
                      "isOptional": false,
                      "description": "Memory limit (0 = auto-detect)",
                      "defaultValue": "0"
                    },
                    "DFLY_dbfilename": {
                      "isOptional": false,
                      "description": "Snapshot file name prefix",
                      "defaultValue": "dump"
                    },
                    "DFLY_requirepass": {
                      "isOptional": false,
                      "description": "Redis AUTH password",
                      "defaultValue": "{{DFLY_requirepass}}"
                    },
                    "DFLY_proactor_threads": {
                      "isOptional": false,
                      "description": "IO thread pool size",
                      "defaultValue": "4"
                    }
                  },
                  "volumeMounts": {
                    "05906c64-959f-47de-9da8-39d6ade7bb59": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-21T16:15:12.787Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-20T14:12:30.082Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_a823bb3baeef4b1187f1",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 66,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "Dragonfly"
  }
}
