{
  "manifest_version": "1.0.0",
  "template": {
    "id": "c3347f8b-cc33-4003-bd2a-96491e88fa04",
    "slug": "dragonfly-2",
    "name": "Dragonfly",
    "description": "Redis-compatible in-memory data store, with a status page",
    "url": "https://railway.com/deploy/dragonfly-2",
    "upstream": {
      "image": "ghcr.io/dragonflydb/dragonfly:latest"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Dragonfly",
      "source": {
        "image": "ghcr.io/dragonflydb/dragonfly:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "REDIS_PASSWORD",
      "service": "Dragonfly",
      "description": "Provide a value for REDIS_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "Dragonfly",
      "description": "Provide a value for RAILWAY_RUN_UID.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "dragonfly-2"
      }
    },
    "cli": "railway deploy --template dragonfly-2",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "c3347f8b-cc33-4003-bd2a-96491e88fa04",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "8574295c-f4a6-473b-b31f-8e1cd12d0328": {
                  "icon": null,
                  "name": "Dragonfly",
                  "deploy": {
                    "startCommand": "sh -c 'exec dragonfly --logtostderr --dir=/data --dbfilename=dump --snapshot_cron=\"*/30 * * * *\" --requirepass=\"$REDIS_PASSWORD\"'",
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/dragonflydb/dragonfly:latest"
                  },
                  "variables": {
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{REDIS_PASSWORD}}"
                    },
                    "RAILWAY_RUN_UID": {
                      "isOptional": false,
                      "defaultValue": "${{randomInt(0, 0)}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:6379": {
                        "port": 6379
                      }
                    }
                  },
                  "volumeMounts": {
                    "8574295c-f4a6-473b-b31f-8e1cd12d0328": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-11-08T22:15:11.842Z",
  "generator_version": "0.1.0"
}
