{
  "manifest_version": "1.0.0",
  "template": {
    "id": "ef542503-be32-4d6b-a651-878bf21c0144",
    "slug": "dragonfly-1",
    "name": "Dragonfly",
    "description": "Dragonfly — Redis-compatible in-memory data store built for scale",
    "url": "https://railway.com/deploy/dragonfly-1",
    "upstream": {
      "image": "dragonflydb/dragonfly:v1.27.1"
    }
  },
  "services": [
    {
      "name": "dragonfly",
      "source": {
        "image": "dragonflydb/dragonfly:v1.27.1"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "DRAGONFLY_PORT",
      "service": "dragonfly",
      "description": "Port Dragonfly listens on (default: 6379). Railway injects PORT for routing.",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "DRAGONFLY_LOG_LEVEL",
      "service": "dragonfly",
      "description": "Log level: debug, info, warning, error, fatal.",
      "secret": false,
      "strategy": "default",
      "default": "warning"
    },
    {
      "key": "DRAGONFLY_REQUIREPASS",
      "service": "dragonfly",
      "description": "Require authentication on connection. Auto-generated — set to secure your cache.",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "dragonfly-1"
      }
    },
    "cli": "railway deploy --template dragonfly-1",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "ef542503-be32-4d6b-a651-878bf21c0144",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "3a1a4d82-4f54-49b7-8f82-6fcdf8506975": {
                  "icon": null,
                  "name": "dragonfly",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "dragonflydb/dragonfly:v1.27.1"
                  },
                  "variables": {
                    "DRAGONFLY_PORT": {
                      "description": "Port Dragonfly listens on (default: 6379). Railway injects PORT for routing.",
                      "defaultValue": "6379"
                    },
                    "DRAGONFLY_LOG_LEVEL": {
                      "description": "Log level: debug, info, warning, error, fatal.",
                      "defaultValue": "warning"
                    },
                    "DRAGONFLY_MAXMEMORY": {
                      "isOptional": true,
                      "description": "Maximum memory limit (e.g., 1gb, 500mb). Leave empty for unlimited.",
                      "defaultValue": ""
                    },
                    "DRAGONFLY_REQUIREPASS": {
                      "description": "Require authentication on connection. Auto-generated — set to secure your cache.",
                      "defaultValue": "{{DRAGONFLY_REQUIREPASS}}"
                    },
                    "DRAGONFLY_MAXMEMORY_POLICY": {
                      "isOptional": true,
                      "description": "Eviction policy when maxmemory reached (e.g., allkeys-lfu, volatile-lru).",
                      "defaultValue": ""
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-10T10:14:45.332Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-09T02:58:14.729Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_19d407c7b84b45f592a7",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 79,
    "typical_build_seconds": 0,
    "typical_start_seconds": 0,
    "slowest_service": "dragonfly"
  }
}
