{
  "manifest_version": "1.0.0",
  "template": {
    "id": "97b5e0a5-1f96-4e46-9ded-704ba549677e",
    "slug": "dragonfly",
    "name": "Dragonfly",
    "description": "A data store built for modern workloads",
    "url": "https://railway.com/deploy/dragonfly",
    "upstream": {
      "image": "ghcr.io/dragonflydb/dragonfly"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Dragonfly",
      "source": {
        "image": "ghcr.io/dragonflydb/dragonfly"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "tcp_ports": [
        6379
      ],
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "DRAGONFLY_URL",
      "service": "Dragonfly",
      "description": "URL to connect to Dragonfly",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DRAGONFLY_HOST",
      "service": "Dragonfly",
      "description": "Railway private domain name",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "DRAGONFLY_PORT",
      "service": "Dragonfly",
      "description": "Port to connect to Dragonfly over the private network",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "DRAGONFLY_USER",
      "service": "Dragonfly",
      "description": "Default user to connect to Dragonfly",
      "secret": false,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "DRAGONFLY_PASSWORD",
      "service": "Dragonfly",
      "description": "Password to connect to Dragonfly",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "DRAGONFLY_PUBLIC_URL",
      "service": "Dragonfly",
      "description": "URL to connect to Dragonfly over the public network",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DRAGONFLY_PUBLIC_HOST",
      "service": "Dragonfly",
      "description": "Railway public domain name",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DRAGONFLY_PUBLIC_PORT",
      "service": "Dragonfly",
      "description": "Port to connect to Dragonfly Publically",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "dragonfly"
      }
    },
    "cli": "railway deploy --template dragonfly",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "97b5e0a5-1f96-4e46-9ded-704ba549677e",
            "serializedConfig": {
              "services": {
                "f9fb81a3-a651-4272-b5b2-0f11c2f55cdb": {
                  "icon": "https://i.imgur.com/Kgtyvru.png",
                  "name": "Dragonfly",
                  "build": {},
                  "deploy": {
                    "startCommand": "/bin/sh -c \"exec dragonfly --logtostderr --requirepass=${DRAGONFLY_PASSWORD} --bind '::'\"",
                    "healthcheckPath": null
                  },
                  "source": {
                    "image": "ghcr.io/dragonflydb/dragonfly"
                  },
                  "variables": {
                    "DRAGONFLY_URL": {
                      "isOptional": false,
                      "description": "URL to connect to Dragonfly",
                      "defaultValue": "redis://${{DRAGONFLY_USER}}:${{DRAGONFLY_PASSWORD}}@${{DRAGONFLY_HOST}}:${{DRAGONFLY_PORT}}"
                    },
                    "DRAGONFLY_HOST": {
                      "isOptional": false,
                      "description": "Railway private domain name",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "DRAGONFLY_PORT": {
                      "isOptional": false,
                      "description": "Port to connect to Dragonfly over the private network",
                      "defaultValue": "6379"
                    },
                    "DRAGONFLY_USER": {
                      "isOptional": false,
                      "description": "Default user to connect to Dragonfly",
                      "defaultValue": "default"
                    },
                    "DRAGONFLY_PASSWORD": {
                      "isOptional": false,
                      "description": "Password to connect to Dragonfly",
                      "defaultValue": "{{DRAGONFLY_PASSWORD}}"
                    },
                    "DRAGONFLY_PUBLIC_URL": {
                      "description": "URL to connect to Dragonfly over the public network",
                      "defaultValue": "redis://${{DRAGONFLY_USER}}:${{DRAGONFLY_PASSWORD}}@${{DRAGONFLY_PUBLIC_HOST}}:${{DRAGONFLY_PUBLIC_PORT}}"
                    },
                    "DRAGONFLY_PUBLIC_HOST": {
                      "description": "Railway public domain name",
                      "defaultValue": "${{RAILWAY_TCP_PROXY_DOMAIN}}"
                    },
                    "DRAGONFLY_PUBLIC_PORT": {
                      "description": "Port to connect to Dragonfly Publically",
                      "defaultValue": "${{RAILWAY_TCP_PROXY_PORT}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {
                      "6379": {}
                    },
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "f9fb81a3-a651-4272-b5b2-0f11c2f55cdb": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": true
  },
  "generated_at": "2026-09-06T11:54:17.289Z",
  "generator_version": "0.1.0"
}
