{
  "manifest_version": "1.0.0",
  "template": {
    "id": "4c57b6a6-dac0-45fb-bf04-1ccc48cdbcf7",
    "slug": "ragflow-rag-engine",
    "name": "RAGFlow | Open Source RAG Engine",
    "description": "Self-host RAGFlow. Chat with your PDFs, contracts, papers & more",
    "url": "https://railway.com/deploy/ragflow-rag-engine",
    "upstream": {
      "image": "infiniflow/ragflow:v0.25.2"
    }
  },
  "services": [
    {
      "name": "Redis",
      "source": {
        "image": "redis:8.2.1"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    },
    {
      "name": "MinIO",
      "source": {
        "image": "quay.io/minio/minio:latest"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    },
    {
      "name": "Elasticsearch",
      "source": {
        "image": "elasticsearch:8.11.3"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "RAGFlow",
      "source": {
        "image": "infiniflow/ragflow:v0.25.2"
      },
      "needs_volume": false,
      "http": true
    },
    {
      "name": "MySQL",
      "source": {
        "image": "mysql:9.4"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/mysql",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "REDISHOST",
      "service": "Redis",
      "description": "Internal Redis service hostname",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDISPORT",
      "service": "Redis",
      "description": "Redis server listening port",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "REDISUSER",
      "service": "Redis",
      "description": "Redis default authentication user",
      "secret": false,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "REDIS_URL",
      "service": "Redis",
      "description": "Internal Redis connection string",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDISPASSWORD",
      "service": "Redis",
      "description": "Redis password environment reference",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "Redis",
      "description": "Password for Redis authentication",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "REDIS_PUBLIC_URL",
      "service": "Redis",
      "description": "Public Redis connection URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MINIO_ROOT_USER",
      "service": "MinIO",
      "description": "MinIO root username",
      "secret": false,
      "strategy": "default",
      "default": "ragflow"
    },
    {
      "key": "MINIO_ROOT_PASSWORD",
      "service": "MinIO",
      "description": "MinIO root password (consumers reference this)",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "ES_JAVA_OPTS",
      "service": "Elasticsearch",
      "description": "JVM heap (1 GB)",
      "secret": false,
      "strategy": "default",
      "default": "-Xms1g -Xmx1g"
    },
    {
      "key": "cluster.name",
      "service": "Elasticsearch",
      "description": "Cluster identifier",
      "secret": false,
      "strategy": "default",
      "default": "ragflow-es"
    },
    {
      "key": "discovery.type",
      "service": "Elasticsearch",
      "description": "Single-node cluster mode",
      "secret": false,
      "strategy": "default",
      "default": "single-node"
    },
    {
      "key": "ELASTIC_PASSWORD",
      "service": "Elasticsearch",
      "description": "elastic user password (consumers reference this)",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "xpack.security.enabled",
      "service": "Elasticsearch",
      "description": "Enable basic auth",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "xpack.security.http.ssl.enabled",
      "service": "Elasticsearch",
      "description": "Plain HTTP — RAGFlow connects http://",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "xpack.security.transport.ssl.enabled",
      "service": "Elasticsearch",
      "description": "No transport TLS in single-node",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "TZ",
      "service": "RAGFlow",
      "description": "Container timezone",
      "secret": false,
      "strategy": "default",
      "default": "UTC"
    },
    {
      "key": "PORT",
      "service": "RAGFlow",
      "description": "Public HTTP port (web UI)",
      "secret": false,
      "strategy": "default",
      "default": "80"
    },
    {
      "key": "DEVICE",
      "service": "RAGFlow",
      "description": "Inference device (Railway has no GPUs)",
      "secret": false,
      "strategy": "default",
      "default": "cpu"
    },
    {
      "key": "ES_HOST",
      "service": "RAGFlow",
      "description": "Elasticsearch private hostname",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "ES_PORT",
      "service": "RAGFlow",
      "description": "Elasticsearch HTTP port",
      "secret": false,
      "strategy": "default",
      "default": "9200"
    },
    {
      "key": "MEM_LIMIT",
      "service": "RAGFlow",
      "description": "Soft memory cap for parser workers in bytes",
      "secret": false,
      "strategy": "default",
      "default": "8073741824"
    },
    {
      "key": "DOC_ENGINE",
      "service": "RAGFlow",
      "description": "Vector backend selector",
      "secret": false,
      "strategy": "default",
      "default": "elasticsearch"
    },
    {
      "key": "MINIO_HOST",
      "service": "RAGFlow",
      "description": "MinIO hostname (no port — RAGFlow appends :9000)",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "MINIO_USER",
      "service": "RAGFlow",
      "description": "MinIO root user reference",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MYSQL_HOST",
      "service": "RAGFlow",
      "description": "MySQL hostname reference",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MYSQL_PORT",
      "service": "RAGFlow",
      "description": "MySQL port",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MYSQL_USER",
      "service": "RAGFlow",
      "description": "MySQL user (root)",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_HOST",
      "service": "RAGFlow",
      "description": "Redis private hostname",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDIS_PORT",
      "service": "RAGFlow",
      "description": "Redis port",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "MYSQL_DBNAME",
      "service": "RAGFlow",
      "description": "Database name (Railway default)",
      "secret": false,
      "strategy": "default",
      "default": "railway"
    },
    {
      "key": "STACK_VERSION",
      "service": "RAGFlow",
      "description": "Elasticsearch version pin",
      "secret": false,
      "strategy": "default",
      "default": "8.11.3"
    },
    {
      "key": "SVR_HTTP_PORT",
      "service": "RAGFlow",
      "description": "Internal API server port",
      "secret": false,
      "strategy": "default",
      "default": "9380"
    },
    {
      "key": "MINIO_PASSWORD",
      "service": "RAGFlow",
      "description": "MinIO root password reference",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MYSQL_PASSWORD",
      "service": "RAGFlow",
      "description": "MySQL root password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "RAGFlow",
      "description": "Redis auth password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ELASTIC_PASSWORD",
      "service": "RAGFlow",
      "description": "Elasticsearch elastic-user password",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REGISTER_ENABLED",
      "service": "RAGFlow",
      "description": "Allow new user signups (set 0 after onboarding)",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "MYSQLHOST",
      "service": "MySQL",
      "description": "MySQL internal hostname",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "MYSQLPORT",
      "service": "MySQL",
      "description": "MySQL service port",
      "secret": false,
      "strategy": "default",
      "default": "3306"
    },
    {
      "key": "MYSQLUSER",
      "service": "MySQL",
      "description": "Default MySQL root username",
      "secret": false,
      "strategy": "default",
      "default": "root"
    },
    {
      "key": "MYSQL_URL",
      "service": "MySQL",
      "description": "Internal MySQL connection string",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "MYSQLDATABASE",
      "service": "MySQL",
      "description": "Database name reference variable",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MYSQLPASSWORD",
      "service": "MySQL",
      "description": "MySQL password reference",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MYSQL_DATABASE",
      "service": "MySQL",
      "description": "Default database name created",
      "secret": false,
      "strategy": "default",
      "default": "railway"
    },
    {
      "key": "MYSQL_PUBLIC_URL",
      "service": "MySQL",
      "description": "Public MySQL connection URL",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MYSQL_ROOT_PASSWORD",
      "service": "MySQL",
      "description": "Root user password credential",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "ragflow-rag-engine"
      }
    },
    "cli": "railway deploy --template ragflow-rag-engine",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "4c57b6a6-dac0-45fb-bf04-1ccc48cdbcf7",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "5495e01d-8c76-42e5-a07e-3840ed5cdcfb": {
                  "icon": "https://cdn.sanity.io/images/sy1jschh/production/0ce0bfdcfbdbf69662b1116671f97c2dd788b655-157x157.svg",
                  "name": "Redis",
                  "deploy": {
                    "startCommand": "/bin/sh -c \"rm -rf $RAILWAY_VOLUME_MOUNT_PATH/lost+found/ && exec docker-entrypoint.sh redis-server --requirepass $REDIS_PASSWORD --save 60 1 --dir $RAILWAY_VOLUME_MOUNT_PATH\"",
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "redis:8.2.1"
                  },
                  "variables": {
                    "REDISHOST": {
                      "isOptional": false,
                      "description": "Internal Redis service hostname",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDISPORT": {
                      "isOptional": false,
                      "description": "Redis server listening port",
                      "defaultValue": "6379"
                    },
                    "REDISUSER": {
                      "isOptional": false,
                      "description": "Redis default authentication user",
                      "defaultValue": "default"
                    },
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Internal Redis connection string",
                      "defaultValue": "redis://${{REDISUSER}}:${{REDIS_PASSWORD}}@${{REDISHOST}}:${{REDISPORT}}"
                    },
                    "REDISPASSWORD": {
                      "isOptional": false,
                      "description": "Redis password environment reference",
                      "defaultValue": "${{REDIS_PASSWORD}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Password for Redis authentication",
                      "defaultValue": "{{REDIS_PASSWORD}}"
                    },
                    "REDIS_PUBLIC_URL": {
                      "isOptional": false,
                      "description": "Public Redis connection URL",
                      "defaultValue": "redis://default:${{REDIS_PASSWORD}}@${{RAILWAY_TCP_PROXY_DOMAIN}}:${{RAILWAY_TCP_PROXY_PORT}}"
                    }
                  },
                  "volumeMounts": {
                    "5495e01d-8c76-42e5-a07e-3840ed5cdcfb": {
                      "mountPath": "/data"
                    }
                  },
                  "haTemplateCode": "redis-ha",
                  "haConversionConfig": {
                    "edge": {
                      "label": "Reverse Proxies",
                      "options": [
                        1,
                        2
                      ],
                      "nodeLabel": "HAProxy",
                      "description": "HAProxy instances routing writes to the primary",
                      "defaultValue": 2
                    },
                    "replica": {
                      "label": "Redis Replicas",
                      "options": [
                        2,
                        3,
                        4,
                        5
                      ],
                      "nodeLabel": "Redis",
                      "description": "Nodes running Redis + colocated Sentinel",
                      "defaultValue": 2
                    },
                    "internal": null,
                    "description": "This will convert your Redis instance to an HA cluster with Sentinel failover and HAProxy routing to the primary."
                  }
                },
                "7b7fb929-ec00-40a4-9de1-690612594a06": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/minio-light.svg",
                  "name": "MinIO",
                  "deploy": {
                    "startCommand": "minio server /data --console-address :9001",
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "quay.io/minio/minio:latest"
                  },
                  "variables": {
                    "MINIO_ROOT_USER": {
                      "isOptional": false,
                      "description": "MinIO root username",
                      "defaultValue": "ragflow"
                    },
                    "MINIO_ROOT_PASSWORD": {
                      "isOptional": false,
                      "description": "MinIO root password (consumers reference this)",
                      "defaultValue": "{{MINIO_ROOT_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "7b7fb929-ec00-40a4-9de1-690612594a06": {
                      "mountPath": "/data"
                    }
                  }
                },
                "a9a6fb16-1c73-48c1-9e28-0816891db82a": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/elasticsearch.svg",
                  "name": "Elasticsearch",
                  "deploy": {
                    "startCommand": "",
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "elasticsearch:8.11.3"
                  },
                  "variables": {
                    "ES_JAVA_OPTS": {
                      "description": "JVM heap (1 GB)",
                      "defaultValue": "-Xms1g -Xmx1g"
                    },
                    "cluster.name": {
                      "description": "Cluster identifier",
                      "defaultValue": "ragflow-es"
                    },
                    "discovery.type": {
                      "description": "Single-node cluster mode",
                      "defaultValue": "single-node"
                    },
                    "ELASTIC_PASSWORD": {
                      "description": "elastic user password (consumers reference this)",
                      "defaultValue": "{{ELASTIC_PASSWORD}}"
                    },
                    "xpack.security.enabled": {
                      "description": "Enable basic auth",
                      "defaultValue": "true"
                    },
                    "xpack.security.http.ssl.enabled": {
                      "description": "Plain HTTP — RAGFlow connects http://",
                      "defaultValue": "false"
                    },
                    "xpack.security.transport.ssl.enabled": {
                      "description": "No transport TLS in single-node",
                      "defaultValue": "false"
                    }
                  },
                  "volumeMounts": {}
                },
                "ed65c4df-6379-4bac-84df-7347af6acff8": {
                  "icon": "https://raw.githubusercontent.com/infiniflow/ragflow/main/web/public/logo.svg ",
                  "name": "RAGFlow",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "infiniflow/ragflow:v0.25.2"
                  },
                  "variables": {
                    "TZ": {
                      "isOptional": false,
                      "description": "Container timezone",
                      "defaultValue": "UTC"
                    },
                    "PORT": {
                      "isOptional": false,
                      "description": "Public HTTP port (web UI)",
                      "defaultValue": "80"
                    },
                    "DEVICE": {
                      "isOptional": false,
                      "description": "Inference device (Railway has no GPUs)",
                      "defaultValue": "cpu"
                    },
                    "ES_HOST": {
                      "isOptional": false,
                      "description": "Elasticsearch private hostname",
                      "defaultValue": "${{Elasticsearch.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "ES_PORT": {
                      "isOptional": false,
                      "description": "Elasticsearch HTTP port",
                      "defaultValue": "9200"
                    },
                    "MEM_LIMIT": {
                      "isOptional": false,
                      "description": "Soft memory cap for parser workers in bytes",
                      "defaultValue": "8073741824"
                    },
                    "DOC_ENGINE": {
                      "isOptional": false,
                      "description": "Vector backend selector",
                      "defaultValue": "elasticsearch"
                    },
                    "MINIO_HOST": {
                      "isOptional": false,
                      "description": "MinIO hostname (no port — RAGFlow appends :9000)",
                      "defaultValue": "${{MinIO.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "MINIO_USER": {
                      "isOptional": false,
                      "description": "MinIO root user reference",
                      "defaultValue": "${{MinIO.MINIO_ROOT_USER}}"
                    },
                    "MYSQL_HOST": {
                      "isOptional": false,
                      "description": "MySQL hostname reference",
                      "defaultValue": "${{MySQL.MYSQLHOST}}"
                    },
                    "MYSQL_PORT": {
                      "isOptional": false,
                      "description": "MySQL port",
                      "defaultValue": "${{MySQL.MYSQLPORT}}"
                    },
                    "MYSQL_USER": {
                      "isOptional": false,
                      "description": "MySQL user (root)",
                      "defaultValue": "${{MySQL.MYSQLUSER}}"
                    },
                    "REDIS_HOST": {
                      "isOptional": false,
                      "description": "Redis private hostname",
                      "defaultValue": "${{Redis.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDIS_PORT": {
                      "isOptional": false,
                      "description": "Redis port",
                      "defaultValue": "6379"
                    },
                    "MYSQL_DBNAME": {
                      "isOptional": false,
                      "description": "Database name (Railway default)",
                      "defaultValue": "railway"
                    },
                    "STACK_VERSION": {
                      "isOptional": false,
                      "description": "Elasticsearch version pin",
                      "defaultValue": "8.11.3"
                    },
                    "SVR_HTTP_PORT": {
                      "isOptional": false,
                      "description": "Internal API server port",
                      "defaultValue": "9380"
                    },
                    "MINIO_PASSWORD": {
                      "isOptional": false,
                      "description": "MinIO root password reference",
                      "defaultValue": "${{MinIO.MINIO_ROOT_PASSWORD}}"
                    },
                    "MYSQL_PASSWORD": {
                      "isOptional": false,
                      "description": "MySQL root password",
                      "defaultValue": "${{MySQL.MYSQL_ROOT_PASSWORD}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Redis auth password",
                      "defaultValue": "${{Redis.REDIS_PASSWORD}}"
                    },
                    "ELASTIC_PASSWORD": {
                      "isOptional": false,
                      "description": "Elasticsearch elastic-user password",
                      "defaultValue": "${{Elasticsearch.ELASTIC_PASSWORD}}"
                    },
                    "REGISTER_ENABLED": {
                      "isOptional": false,
                      "description": "Allow new user signups (set 0 after onboarding)",
                      "defaultValue": "1"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  }
                },
                "fe83ecc5-a257-4f5f-9e83-45afa308c348": {
                  "icon": "https://devicons.railway.app/i/mysql.svg",
                  "name": "MySQL",
                  "deploy": {
                    "startCommand": "docker-entrypoint.sh mysqld --innodb-use-native-aio=0 --disable-log-bin --performance_schema=0 --innodb-buffer-pool-size=1G",
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "mysql:9.4"
                  },
                  "variables": {
                    "MYSQLHOST": {
                      "isOptional": false,
                      "description": "MySQL internal hostname",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "MYSQLPORT": {
                      "isOptional": false,
                      "description": "MySQL service port",
                      "defaultValue": "3306"
                    },
                    "MYSQLUSER": {
                      "isOptional": false,
                      "description": "Default MySQL root username",
                      "defaultValue": "root"
                    },
                    "MYSQL_URL": {
                      "isOptional": false,
                      "description": "Internal MySQL connection string",
                      "defaultValue": "mysql://${{MYSQLUSER}}:${{MYSQL_ROOT_PASSWORD}}@${{RAILWAY_PRIVATE_DOMAIN}}:3306/${{MYSQL_DATABASE}}"
                    },
                    "MYSQLDATABASE": {
                      "isOptional": false,
                      "description": "Database name reference variable",
                      "defaultValue": "${{MYSQL_DATABASE}}"
                    },
                    "MYSQLPASSWORD": {
                      "isOptional": false,
                      "description": "MySQL password reference",
                      "defaultValue": "${{MYSQL_ROOT_PASSWORD}}"
                    },
                    "MYSQL_DATABASE": {
                      "isOptional": false,
                      "description": "Default database name created",
                      "defaultValue": "railway"
                    },
                    "MYSQL_PUBLIC_URL": {
                      "isOptional": false,
                      "description": "Public MySQL connection URL",
                      "defaultValue": "mysql://${{MYSQLUSER}}:${{MYSQL_ROOT_PASSWORD}}@${{RAILWAY_TCP_PROXY_DOMAIN}}:${{RAILWAY_TCP_PROXY_PORT}}/${{MYSQL_DATABASE}}"
                    },
                    "MYSQL_ROOT_PASSWORD": {
                      "isOptional": false,
                      "description": "Root user password credential",
                      "defaultValue": "{{MYSQL_ROOT_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "fe83ecc5-a257-4f5f-9e83-45afa308c348": {
                      "mountPath": "/var/lib/mysql"
                    }
                  },
                  "haTemplateCode": "mysql-ha",
                  "haConversionConfig": {
                    "edge": {
                      "label": "Reverse Proxies",
                      "options": [
                        1,
                        2
                      ],
                      "nodeLabel": "HAProxy",
                      "description": "HAProxy instances routing writes to the primary",
                      "defaultValue": 2
                    },
                    "replica": {
                      "label": "MySQL Replicas",
                      "options": [
                        2,
                        4,
                        6,
                        8
                      ],
                      "nodeLabel": "MySQL",
                      "description": "Requires odd count for quorum",
                      "defaultValue": 2
                    },
                    "internal": null,
                    "description": "This will convert your MySQL instance to an HA cluster with Group Replication failover and HAProxy routing to the primary.",
                    "supportedImageMajorVersions": [
                      8,
                      9
                    ]
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 5,
    "needs_volume": true
  },
  "generated_at": "2026-09-21T22:14:44.200Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-20T12:06:34.536Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_9c77f2bd88f24af680a5",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 132,
    "typical_build_seconds": 0,
    "typical_start_seconds": 40,
    "slowest_service": "RAGFlow"
  }
}
