{
  "manifest_version": "1.0.0",
  "template": {
    "id": "2e1d019a-9865-42cb-af22-ed410e6c22b3",
    "slug": "qwen3-ollama-openwebui",
    "name": "Qwen3 Chat — Ollama + Open WebUI, Private AI",
    "description": "Run Qwen3 models privately — Ollama + chat UI, or via API",
    "url": "https://railway.com/deploy/qwen3-ollama-openwebui",
    "upstream": {
      "image": "ghcr.io/open-webui/open-webui:main"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Ollama",
      "source": {
        "image": "ollama/ollama"
      },
      "needs_volume": true,
      "volume_mount_path": "/root/.ollama",
      "http": false
    },
    {
      "name": "Open WebUI",
      "source": {
        "image": "ghcr.io/open-webui/open-webui:main"
      },
      "needs_volume": true,
      "volume_mount_path": "/app/backend/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "OLLAMA_HOST",
      "service": "Ollama",
      "description": "Provide a value for OLLAMA_HOST.",
      "secret": false,
      "strategy": "default",
      "default": "::"
    },
    {
      "key": "OLLAMA_ORIGINS",
      "service": "Ollama",
      "description": "Provide a value for OLLAMA_ORIGINS.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "OLLAMA_BASE_URL",
      "service": "Open WebUI",
      "description": "Provide a value for OLLAMA_BASE_URL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "qwen3-ollama-openwebui"
      }
    },
    "cli": "railway deploy --template qwen3-ollama-openwebui",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "2e1d019a-9865-42cb-af22-ed410e6c22b3",
            "serializedConfig": {
              "services": {
                "a643d322-d291-4952-9616-b6458d093e12": {
                  "icon": "https://res.cloudinary.com/airplo/image/upload/v1730154334/up9smvbwl2citplphy5a.png",
                  "name": "Ollama",
                  "source": {
                    "image": "ollama/ollama"
                  },
                  "variables": {
                    "OLLAMA_HOST": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "::"
                    },
                    "OLLAMA_ORIGINS": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "http://${{RAILWAY_PRIVATE_DOMAIN}}:*"
                    }
                  },
                  "volumeMounts": {
                    "a643d322-d291-4952-9616-b6458d093e12": {
                      "mountPath": "/root/.ollama"
                    }
                  }
                },
                "f1882683-e12a-4109-b3cb-0bd6a624a3fd": {
                  "icon": "https://dashboard.snapcraft.io/site_media/appmedia/2024/02/favicon_pUYczil.png",
                  "name": "Open WebUI",
                  "source": {
                    "image": "ghcr.io/open-webui/open-webui:main"
                  },
                  "variables": {
                    "OLLAMA_BASE_URL": {
                      "isOptional": false,
                      "description": "",
                      "defaultValue": "http://${{Ollama.RAILWAY_PRIVATE_DOMAIN}}:11434"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "f1882683-e12a-4109-b3cb-0bd6a624a3fd": {
                      "mountPath": "/app/backend/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-09-06T23:54:14.295Z",
  "generator_version": "0.1.0"
}
