{
  "manifest_version": "1.0.0",
  "template": {
    "id": "d03cbd2c-5d2a-4594-b87d-835d4d9c85f6",
    "slug": "ragflow-cpu",
    "name": "RAGFlow CPU",
    "description": "Document ingestion and retrieval with private databases and CPU workers.",
    "url": "https://railway.com/deploy/ragflow-cpu",
    "upstream": {
      "repo_url": "https://github.com/orenaksakal/railway-templates"
    }
  },
  "services": [
    {
      "name": "redis",
      "source": {
        "image": "redis:7.4@sha256:71da9275c5f3fcb97d0fa0c8c5b36cc995327265420f17a04bfd544f458059f7"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    },
    {
      "name": "elasticsearch",
      "source": {
        "repo": "https://github.com/orenaksakal/railway-templates"
      },
      "needs_volume": true,
      "volume_mount_path": "/usr/share/elasticsearch/data",
      "http": false
    },
    {
      "name": "mysql",
      "source": {
        "image": "mysql:8.0.40@sha256:d58ac93387f644e4e040c636b8f50494e78e5afc27ca0a87348b2f577da2b7ff"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/mysql",
      "http": false
    },
    {
      "name": "storage",
      "source": {
        "repo": "https://github.com/orenaksakal/railway-templates"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    },
    {
      "name": "ragflow",
      "source": {
        "repo": "https://github.com/orenaksakal/railway-templates"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "REDIS_URL",
      "service": "redis",
      "description": "Private authenticated Redis/Valkey connection URL. Automatically assembled from service references.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "redis",
      "description": "Generated private Redis/Valkey password, or a reference to that password. Keep secret.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "ES_JAVA_OPTS",
      "service": "elasticsearch",
      "description": "Initial Java heap. Increase only with sufficient Railway memory.",
      "secret": false,
      "strategy": "default",
      "default": "-Xms1g -Xmx1g"
    },
    {
      "key": "discovery.type",
      "service": "elasticsearch",
      "description": "Single-node search index. This is not a high-availability cluster.",
      "secret": false,
      "strategy": "default",
      "default": "single-node"
    },
    {
      "key": "ELASTIC_PASSWORD",
      "service": "elasticsearch",
      "description": "Generated elastic password. Keep private and preserve with backups.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "node.store.allow_mmap",
      "service": "elasticsearch",
      "description": "Avoid dependence on host vm.max_map_count, which cannot be changed from a Railway container.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "xpack.security.enabled",
      "service": "elasticsearch",
      "description": "Xpack.security.enabled for elasticsearch. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "RAILWAY_DOCKERFILE_PATH",
      "service": "elasticsearch",
      "description": "Repository-relative Dockerfile used to build this service. Keep the supplied path.",
      "secret": false,
      "strategy": "default",
      "default": "templates/ragflow/Elasticsearch.Dockerfile"
    },
    {
      "key": "xpack.security.http.ssl.enabled",
      "service": "elasticsearch",
      "description": "Xpack.security.http.ssl.enabled for elasticsearch. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "MYSQL_USER",
      "service": "mysql",
      "description": "Mysql user for mysql. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "ragflow"
    },
    {
      "key": "MYSQL_DATABASE",
      "service": "mysql",
      "description": "Mysql database for mysql. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "rag_flow"
    },
    {
      "key": "MYSQL_PASSWORD",
      "service": "mysql",
      "description": "Generated mysql password. Keep private and preserve with backups.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "MYSQL_ROOT_PASSWORD",
      "service": "mysql",
      "description": "Generated mysql root password. Keep private and preserve with backups.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "S3_BUCKET",
      "service": "storage",
      "description": "Private bucket created on first startup; changing this does not move existing objects.",
      "secret": false,
      "strategy": "default",
      "default": "ragflow"
    },
    {
      "key": "MINIO_ROOT_USER",
      "service": "storage",
      "description": "Generated minio root user. Keep private and preserve with backups.",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "MINIO_ROOT_PASSWORD",
      "service": "storage",
      "description": "Generated minio root password. Keep private and preserve with backups.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_DOCKERFILE_PATH",
      "service": "storage",
      "description": "Repository-relative Dockerfile used to build this service. Keep the supplied path.",
      "secret": false,
      "strategy": "default",
      "default": "shared/draft-storage/Dockerfile"
    },
    {
      "key": "TZ",
      "service": "ragflow",
      "description": "Tz for ragflow. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "UTC"
    },
    {
      "key": "PORT",
      "service": "ragflow",
      "description": "HTTP port inside this service. Keep the default to match its Railway public port and health check.",
      "secret": false,
      "strategy": "default",
      "default": "80"
    },
    {
      "key": "DEVICE",
      "service": "ragflow",
      "description": "Device for ragflow. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "cpu"
    },
    {
      "key": "DB_TYPE",
      "service": "ragflow",
      "description": "Db type for ragflow. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "mysql"
    },
    {
      "key": "ES_HOST",
      "service": "ragflow",
      "description": "Es host resolved automatically from the linked service. Keep this reference when using the included topology.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "DOC_ENGINE",
      "service": "ragflow",
      "description": "Doc engine for ragflow. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "elasticsearch"
    },
    {
      "key": "MINIO_HOST",
      "service": "ragflow",
      "description": "Minio host resolved automatically from the linked service. Keep this reference when using the included topology.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "MINIO_USER",
      "service": "ragflow",
      "description": "Minio user resolved automatically from the linked service. Keep this reference when using the included topology.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MYSQL_HOST",
      "service": "ragflow",
      "description": "Mysql host resolved automatically from the linked service. Keep this reference when using the included topology.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "MYSQL_PORT",
      "service": "ragflow",
      "description": "Mysql port for ragflow. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "3306"
    },
    {
      "key": "MYSQL_USER",
      "service": "ragflow",
      "description": "Mysql user for ragflow. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "ragflow"
    },
    {
      "key": "REDIS_HOST",
      "service": "ragflow",
      "description": "Private Redis/Valkey hostname supplied by the redis service reference.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "MYSQL_DBNAME",
      "service": "ragflow",
      "description": "Mysql dbname for ragflow. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "rag_flow"
    },
    {
      "key": "ALLOW_ANY_HOST",
      "service": "ragflow",
      "description": "Allow any host for ragflow. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "0"
    },
    {
      "key": "MINIO_PASSWORD",
      "service": "ragflow",
      "description": "Minio password resolved automatically from the linked service. Keep this reference when using the included topology.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MYSQL_PASSWORD",
      "service": "ragflow",
      "description": "Mysql password resolved automatically from the linked service. Keep this reference when using the included topology.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "ragflow",
      "description": "Generated private Redis/Valkey password, or a reference to that password. Keep secret.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "ENABLE_REGISTER",
      "service": "ragflow",
      "description": "Enable register for ragflow. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "API_PROXY_SCHEME",
      "service": "ragflow",
      "description": "Api proxy scheme for ragflow. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "python"
    },
    {
      "key": "ELASTIC_PASSWORD",
      "service": "ragflow",
      "description": "Elastic password resolved automatically from the linked service. Keep this reference when using the included topology.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "MYSQL_MAX_PACKET",
      "service": "ragflow",
      "description": "Mysql max packet for ragflow. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
      "secret": false,
      "strategy": "default",
      "default": "1073741824"
    },
    {
      "key": "REGISTER_ENABLED",
      "service": "ragflow",
      "description": "Enable account onboarding initially. Disable registration after creating the intended accounts.",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "RAILWAY_DOCKERFILE_PATH",
      "service": "ragflow",
      "description": "Repository-relative Dockerfile used to build this service. Keep the supplied path.",
      "secret": false,
      "strategy": "default",
      "default": "templates/ragflow/Dockerfile"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "ragflow-cpu"
      }
    },
    "cli": "railway deploy --template ragflow-cpu",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "d03cbd2c-5d2a-4594-b87d-835d4d9c85f6",
            "serializedConfig": {
              "services": {
                "17c46b5d-c744-530f-948c-659929668270": {
                  "name": "redis",
                  "deploy": {
                    "startCommand": "sh -c 'exec redis-server --bind 0.0.0.0 :: --appendonly yes --maxmemory-policy noeviction --requirepass \"$REDIS_PASSWORD\"'",
                    "requiredMountPath": "/data",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "redis:7.4@sha256:71da9275c5f3fcb97d0fa0c8c5b36cc995327265420f17a04bfd544f458059f7"
                  },
                  "variables": {
                    "REDIS_URL": {
                      "isOptional": false,
                      "description": "Private authenticated Redis/Valkey connection URL. Automatically assembled from service references.",
                      "defaultValue": "redis://:${{redis.REDIS_PASSWORD}}@${{redis.RAILWAY_PRIVATE_DOMAIN}}:6379"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Generated private Redis/Valkey password, or a reference to that password. Keep secret.",
                      "defaultValue": "{{REDIS_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "623ea7a2-1826-5278-87cc-fb0123bbac1d": {
                      "mountPath": "/data"
                    }
                  }
                },
                "1c882f3d-3829-5076-8a5a-57a3596f3641": {
                  "name": "elasticsearch",
                  "build": {
                    "builder": "RAILPACK",
                    "dockerfilePath": "templates/ragflow/Elasticsearch.Dockerfile"
                  },
                  "deploy": {
                    "requiredMountPath": "/usr/share/elasticsearch/data",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "orenaksakal/railway-templates",
                    "image": null,
                    "branch": "codex/remaining-template-drafts"
                  },
                  "variables": {
                    "ES_JAVA_OPTS": {
                      "isOptional": false,
                      "description": "Initial Java heap. Increase only with sufficient Railway memory.",
                      "defaultValue": "-Xms1g -Xmx1g"
                    },
                    "discovery.type": {
                      "isOptional": false,
                      "description": "Single-node search index. This is not a high-availability cluster.",
                      "defaultValue": "single-node"
                    },
                    "ELASTIC_PASSWORD": {
                      "isOptional": false,
                      "description": "Generated elastic password. Keep private and preserve with backups.",
                      "defaultValue": "{{ELASTIC_PASSWORD}}"
                    },
                    "node.store.allow_mmap": {
                      "isOptional": false,
                      "description": "Avoid dependence on host vm.max_map_count, which cannot be changed from a Railway container.",
                      "defaultValue": "false"
                    },
                    "xpack.security.enabled": {
                      "isOptional": false,
                      "description": "Xpack.security.enabled for elasticsearch. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "true"
                    },
                    "RAILWAY_DOCKERFILE_PATH": {
                      "isOptional": false,
                      "description": "Repository-relative Dockerfile used to build this service. Keep the supplied path.",
                      "defaultValue": "templates/ragflow/Elasticsearch.Dockerfile"
                    },
                    "xpack.security.http.ssl.enabled": {
                      "isOptional": false,
                      "description": "Xpack.security.http.ssl.enabled for elasticsearch. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "false"
                    }
                  },
                  "networking": {
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "d6c8a882-fc19-503e-aa48-1c1c1fe06710": {
                      "mountPath": "/usr/share/elasticsearch/data"
                    }
                  }
                },
                "2ca55f80-147f-5c3f-bfdb-ef2264287de9": {
                  "name": "mysql",
                  "deploy": {
                    "startCommand": "docker-entrypoint.sh mysqld --max-connections=150 --max-allowed-packet=1073741824 --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --default-authentication-plugin=mysql_native_password --binlog-expire-logs-seconds=604800",
                    "requiredMountPath": "/var/lib/mysql",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "mysql:8.0.40@sha256:d58ac93387f644e4e040c636b8f50494e78e5afc27ca0a87348b2f577da2b7ff"
                  },
                  "variables": {
                    "MYSQL_USER": {
                      "isOptional": false,
                      "description": "Mysql user for mysql. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "ragflow"
                    },
                    "MYSQL_DATABASE": {
                      "isOptional": false,
                      "description": "Mysql database for mysql. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "rag_flow"
                    },
                    "MYSQL_PASSWORD": {
                      "isOptional": false,
                      "description": "Generated mysql password. Keep private and preserve with backups.",
                      "defaultValue": "{{MYSQL_PASSWORD}}"
                    },
                    "MYSQL_ROOT_PASSWORD": {
                      "isOptional": false,
                      "description": "Generated mysql root password. Keep private and preserve with backups.",
                      "defaultValue": "{{MYSQL_ROOT_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "6caa3481-2c0f-5d50-9480-904c57280752": {
                      "mountPath": "/var/lib/mysql"
                    }
                  }
                },
                "9fec9cbc-6e10-5d17-81dd-86b0a4e33313": {
                  "name": "storage",
                  "build": {
                    "builder": "RAILPACK",
                    "dockerfilePath": "shared/draft-storage/Dockerfile"
                  },
                  "deploy": {
                    "requiredMountPath": "/data",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "orenaksakal/railway-templates",
                    "branch": "codex/remaining-template-drafts"
                  },
                  "variables": {
                    "S3_BUCKET": {
                      "isOptional": false,
                      "description": "Private bucket created on first startup; changing this does not move existing objects.",
                      "defaultValue": "ragflow"
                    },
                    "MINIO_ROOT_USER": {
                      "isOptional": false,
                      "description": "Generated minio root user. Keep private and preserve with backups.",
                      "defaultValue": "{{MINIO_ROOT_USER}}"
                    },
                    "MINIO_ROOT_PASSWORD": {
                      "isOptional": false,
                      "description": "Generated minio root password. Keep private and preserve with backups.",
                      "defaultValue": "{{MINIO_ROOT_PASSWORD}}"
                    },
                    "RAILWAY_DOCKERFILE_PATH": {
                      "isOptional": false,
                      "description": "Repository-relative Dockerfile used to build this service. Keep the supplied path.",
                      "defaultValue": "shared/draft-storage/Dockerfile"
                    }
                  },
                  "networking": {
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "d2311c1b-a75d-5436-8bbb-3a030b29a229": {
                      "mountPath": "/data"
                    }
                  }
                },
                "f4083502-a936-544d-a4c3-0a517df1c65e": {
                  "name": "ragflow",
                  "build": {
                    "builder": "RAILPACK",
                    "dockerfilePath": "templates/ragflow/Dockerfile"
                  },
                  "deploy": {
                    "healthcheckPath": "/",
                    "restartPolicyType": "ON_FAILURE",
                    "healthcheckTimeout": 600,
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "orenaksakal/railway-templates",
                    "branch": "codex/remaining-template-drafts"
                  },
                  "variables": {
                    "TZ": {
                      "isOptional": false,
                      "description": "Tz for ragflow. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "UTC"
                    },
                    "PORT": {
                      "isOptional": false,
                      "description": "HTTP port inside this service. Keep the default to match its Railway public port and health check.",
                      "defaultValue": "80"
                    },
                    "DEVICE": {
                      "isOptional": false,
                      "description": "Device for ragflow. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "cpu"
                    },
                    "DB_TYPE": {
                      "isOptional": false,
                      "description": "Db type for ragflow. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "mysql"
                    },
                    "ES_HOST": {
                      "isOptional": false,
                      "description": "Es host resolved automatically from the linked service. Keep this reference when using the included topology.",
                      "defaultValue": "${{elasticsearch.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "DOC_ENGINE": {
                      "isOptional": false,
                      "description": "Doc engine for ragflow. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "elasticsearch"
                    },
                    "MINIO_HOST": {
                      "isOptional": false,
                      "description": "Minio host resolved automatically from the linked service. Keep this reference when using the included topology.",
                      "defaultValue": "${{storage.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "MINIO_USER": {
                      "isOptional": false,
                      "description": "Minio user resolved automatically from the linked service. Keep this reference when using the included topology.",
                      "defaultValue": "${{storage.MINIO_ROOT_USER}}"
                    },
                    "MYSQL_HOST": {
                      "isOptional": false,
                      "description": "Mysql host resolved automatically from the linked service. Keep this reference when using the included topology.",
                      "defaultValue": "${{mysql.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "MYSQL_PORT": {
                      "isOptional": false,
                      "description": "Mysql port for ragflow. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "3306"
                    },
                    "MYSQL_USER": {
                      "isOptional": false,
                      "description": "Mysql user for ragflow. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "ragflow"
                    },
                    "REDIS_HOST": {
                      "isOptional": false,
                      "description": "Private Redis/Valkey hostname supplied by the redis service reference.",
                      "defaultValue": "${{redis.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "MYSQL_DBNAME": {
                      "isOptional": false,
                      "description": "Mysql dbname for ragflow. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "rag_flow"
                    },
                    "ALLOW_ANY_HOST": {
                      "isOptional": false,
                      "description": "Allow any host for ragflow. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "0"
                    },
                    "MINIO_PASSWORD": {
                      "isOptional": false,
                      "description": "Minio password resolved automatically from the linked service. Keep this reference when using the included topology.",
                      "defaultValue": "${{storage.MINIO_ROOT_PASSWORD}}"
                    },
                    "MYSQL_PASSWORD": {
                      "isOptional": false,
                      "description": "Mysql password resolved automatically from the linked service. Keep this reference when using the included topology.",
                      "defaultValue": "${{mysql.MYSQL_PASSWORD}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": false,
                      "description": "Generated private Redis/Valkey password, or a reference to that password. Keep secret.",
                      "defaultValue": "${{redis.REDIS_PASSWORD}}"
                    },
                    "ENABLE_REGISTER": {
                      "isOptional": false,
                      "description": "Enable register for ragflow. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "1"
                    },
                    "API_PROXY_SCHEME": {
                      "isOptional": false,
                      "description": "Api proxy scheme for ragflow. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "python"
                    },
                    "ELASTIC_PASSWORD": {
                      "isOptional": false,
                      "description": "Elastic password resolved automatically from the linked service. Keep this reference when using the included topology.",
                      "defaultValue": "${{elasticsearch.ELASTIC_PASSWORD}}"
                    },
                    "MYSQL_MAX_PACKET": {
                      "isOptional": false,
                      "description": "Mysql max packet for ragflow. The supplied value follows the pinned upstream deployment; change only with its configuration guide.",
                      "defaultValue": "1073741824"
                    },
                    "REGISTER_ENABLED": {
                      "isOptional": false,
                      "description": "Enable account onboarding initially. Disable registration after creating the intended accounts.",
                      "defaultValue": "1"
                    },
                    "RAILWAY_DOCKERFILE_PATH": {
                      "isOptional": false,
                      "description": "Repository-relative Dockerfile used to build this service. Keep the supplied path.",
                      "defaultValue": "templates/ragflow/Dockerfile"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:80": {
                        "port": 80
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "ragflow",
      "method": "GET",
      "path": "/",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 5,
    "needs_volume": true
  },
  "generated_at": "2026-09-08T05:54:19.399Z",
  "generator_version": "0.1.0",
  "status": "validated",
  "validated_at": "2026-09-08T05:59:51.178Z",
  "success_rate_30d": 1,
  "validation": {
    "last_run_id": "run_5d05982826904900a9a0",
    "checks": [
      {
        "name": "workflow_completed",
        "passed": true
      },
      {
        "name": "all_services_deployed",
        "passed": true
      },
      {
        "name": "healthcheck",
        "passed": true
      },
      {
        "name": "stays_up",
        "passed": true
      }
    ],
    "typical_ready_seconds": 274,
    "typical_build_seconds": 141,
    "typical_start_seconds": 81,
    "slowest_service": "ragflow"
  }
}
