{
  "manifest_version": "1.0.0",
  "template": {
    "id": "acaa53de-5ea6-4cbb-966c-4b7f19650e82",
    "slug": "open-webui-all-in-one-bundle",
    "name": "Open WebUI (All-in-One Bundle)",
    "description": "Open WebUI + PostgreSQL (pgvector) + Redis + SearXNG",
    "url": "https://railway.com/deploy/open-webui-all-in-one-bundle",
    "upstream": {
      "image": "ghcr.io/open-webui/open-webui:main"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Open WebUI",
      "source": {
        "image": "ghcr.io/open-webui/open-webui:main"
      },
      "needs_volume": true,
      "volume_mount_path": "/app/backend/data",
      "http": true
    },
    {
      "name": "Postgres",
      "source": {
        "image": "pgvector/pgvector:pg16"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    },
    {
      "name": "SearXNG",
      "source": {
        "repo": "https://github.com/protemplate/searxng"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "Redis",
      "source": {
        "image": "redis:7-alpine"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "PORT",
      "service": "Open WebUI",
      "description": "Port Open WebUI listens on and Railway's healthcheck probes.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "REDIS_URL",
      "service": "Open WebUI",
      "description": "Shared state store. Enables sign-out token revocation and lets multiple replicas coordinate app state.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "VECTOR_DB",
      "service": "Open WebUI",
      "description": "Stores document embeddings in pgvector (inside the same Postgres) instead of the embedded store.",
      "secret": false,
      "strategy": "default",
      "default": "pgvector"
    },
    {
      "key": "DATABASE_URL",
      "service": "Open WebUI",
      "description": "Uses PostgreSQL for the app database instead of the default SQLite. Wired to the bundled Postgres over the private network.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PGVECTOR_DB_URL",
      "service": "Open WebUI",
      "description": "Connection URL for the pgvector store. Same Postgres as DATABASE_URL; the 'vector' extension is created automatically on first boot.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "WEBUI_SECRET_KEY",
      "service": "Open WebUI",
      "description": "Session signing key",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "ENABLE_WEB_SEARCH",
      "service": "Open WebUI",
      "description": "Turns on retrieval-augmented web search in chats, served by the bundled SearXNG.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "SEARXNG_QUERY_URL",
      "service": "Open WebUI",
      "description": "Internal URL of the SearXNG service. The literal <query> placeholder is required.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "WEBSOCKET_MANAGER",
      "service": "Open WebUI",
      "description": "Provide a value for WEBSOCKET_MANAGER.",
      "secret": false,
      "strategy": "default",
      "default": "redis"
    },
    {
      "key": "WEB_SEARCH_ENGINE",
      "service": "Open WebUI",
      "description": "Provide a value for WEB_SEARCH_ENGINE.",
      "secret": false,
      "strategy": "default",
      "default": "searxng"
    },
    {
      "key": "WEBSOCKET_REDIS_URL",
      "service": "Open WebUI",
      "description": "Redis URL for the websocket manager (same Redis as REDIS_URL).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "ENABLE_WEBSOCKET_SUPPORT",
      "service": "Open WebUI",
      "description": "Routes realtime chat/websocket events through Redis so the app can scale to multiple replicas.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "PGDATA",
      "service": "Postgres",
      "description": "Provide a value for PGDATA.",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/data/pgdata"
    },
    {
      "key": "POSTGRES_DB",
      "service": "Postgres",
      "description": "Provide a value for POSTGRES_DB.",
      "secret": false,
      "strategy": "default",
      "default": "openwebui"
    },
    {
      "key": "POSTGRES_USER",
      "service": "Postgres",
      "description": "Provide a value for POSTGRES_USER.",
      "secret": false,
      "strategy": "default",
      "default": "openwebui"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "Postgres",
      "description": "Provide a value for POSTGRES_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "PORT",
      "service": "SearXNG",
      "description": "Port SearXNG listens on. Also required so ${{SearXNG.PORT}} references resolve; matches the image's [::]:8080 IPv6 bind.",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "SEARXNG_SECRET_KEY",
      "service": "SearXNG",
      "description": "Injected into settings.yml at runtime to sign SearXNG sessions.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "SEARXNG_UWSGI_THREADS",
      "service": "SearXNG",
      "description": "Provide a value for SEARXNG_UWSGI_THREADS.",
      "secret": false,
      "strategy": "default",
      "default": "4"
    },
    {
      "key": "SEARXNG_UWSGI_WORKERS",
      "service": "SearXNG",
      "description": "Provide a value for SEARXNG_UWSGI_WORKERS.",
      "secret": false,
      "strategy": "default",
      "default": "4"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "Redis",
      "description": "Password for Redis AUTH. Referenced by Open WebUI's REDIS_URL.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "open-webui-all-in-one-bundle"
      }
    },
    "cli": "railway deploy --template open-webui-all-in-one-bundle",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "acaa53de-5ea6-4cbb-966c-4b7f19650e82",
            "serializedConfig": {
              "services": {
                "080c569a-651a-440c-acbd-0fe0f04c3494": {
                  "icon": "https://raw.githubusercontent.com/open-webui/open-webui/main/static/favicon.png",
                  "name": "Open WebUI",
                  "deploy": {
                    "healthcheckPath": "/health",
                    "requiredMountPath": "/app/backend/data",
                    "restartPolicyType": "ON_FAILURE",
                    "healthcheckTimeout": 300,
                    "restartPolicyMaxRetries": 5
                  },
                  "source": {
                    "image": "ghcr.io/open-webui/open-webui:main"
                  },
                  "variables": {
                    "PORT": {
                      "description": "Port Open WebUI listens on and Railway's healthcheck probes.",
                      "defaultValue": "8080"
                    },
                    "REDIS_URL": {
                      "description": "Shared state store. Enables sign-out token revocation and lets multiple replicas coordinate app state.",
                      "defaultValue": "redis://default:${{Redis.REDIS_PASSWORD}}@${{Redis.RAILWAY_PRIVATE_DOMAIN}}:6379/0"
                    },
                    "VECTOR_DB": {
                      "description": "Stores document embeddings in pgvector (inside the same Postgres) instead of the embedded store.",
                      "defaultValue": "pgvector"
                    },
                    "DATABASE_URL": {
                      "description": "Uses PostgreSQL for the app database instead of the default SQLite. Wired to the bundled Postgres over the private network.",
                      "defaultValue": "postgresql://${{Postgres.POSTGRES_USER}}:${{Postgres.POSTGRES_PASSWORD}}@${{Postgres.RAILWAY_PRIVATE_DOMAIN}}:5432/${{Postgres.POSTGRES_DB}}"
                    },
                    "OPENAI_API_KEY": {
                      "isOptional": true,
                      "description": "OpenAI API key to enable GPT models",
                      "defaultValue": ""
                    },
                    "OLLAMA_BASE_URL": {
                      "isOptional": true,
                      "description": "Point at a self-hosted Ollama instance",
                      "defaultValue": ""
                    },
                    "PGVECTOR_DB_URL": {
                      "description": "Connection URL for the pgvector store. Same Postgres as DATABASE_URL; the 'vector' extension is created automatically on first boot.",
                      "defaultValue": "postgresql://${{Postgres.POSTGRES_USER}}:${{Postgres.POSTGRES_PASSWORD}}@${{Postgres.RAILWAY_PRIVATE_DOMAIN}}:5432/${{Postgres.POSTGRES_DB}}"
                    },
                    "WEBUI_SECRET_KEY": {
                      "description": "Session signing key",
                      "defaultValue": "{{WEBUI_SECRET_KEY}}"
                    },
                    "ANTHROPIC_API_KEY": {
                      "isOptional": true,
                      "description": "Anthropic API key to enable Claude models",
                      "defaultValue": ""
                    },
                    "ENABLE_WEB_SEARCH": {
                      "description": "Turns on retrieval-augmented web search in chats, served by the bundled SearXNG.",
                      "defaultValue": "true"
                    },
                    "SEARXNG_QUERY_URL": {
                      "description": "Internal URL of the SearXNG service. The literal <query> placeholder is required.",
                      "defaultValue": "http://${{SearXNG.RAILWAY_PRIVATE_DOMAIN}}:8080/search?q=<query>"
                    },
                    "WEBSOCKET_MANAGER": {
                      "defaultValue": "redis"
                    },
                    "WEB_SEARCH_ENGINE": {
                      "defaultValue": "searxng"
                    },
                    "WEBSOCKET_REDIS_URL": {
                      "description": "Redis URL for the websocket manager (same Redis as REDIS_URL).",
                      "defaultValue": "redis://default:${{Redis.REDIS_PASSWORD}}@${{Redis.RAILWAY_PRIVATE_DOMAIN}}:6379/0"
                    },
                    "ENABLE_WEBSOCKET_SUPPORT": {
                      "description": "Routes realtime chat/websocket events through Redis so the app can scale to multiple replicas.",
                      "defaultValue": "true"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "open-webui-dom": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "080c569a-651a-440c-acbd-0fe0f04c3494": {
                      "mountPath": "/app/backend/data"
                    }
                  }
                },
                "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d": {
                  "icon": "https://devicons.railway.app/i/postgresql.svg",
                  "name": "Postgres",
                  "deploy": {
                    "startCommand": "docker-entrypoint.sh postgres -c \"listen_addresses=*\"",
                    "requiredMountPath": "/var/lib/postgresql/data",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 5
                  },
                  "source": {
                    "image": "pgvector/pgvector:pg16"
                  },
                  "variables": {
                    "PGDATA": {
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "POSTGRES_DB": {
                      "defaultValue": "openwebui"
                    },
                    "POSTGRES_USER": {
                      "defaultValue": "openwebui"
                    },
                    "POSTGRES_PASSWORD": {
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                },
                "2b3c4d5e-6f7a-4b8c-9d0e-1f2a3b4c5d6e": {
                  "icon": "https://somi-public-assets.s3.ap-southeast-1.amazonaws.com/railway/searxng-wordmark.svg",
                  "name": "SearXNG",
                  "deploy": {
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 5
                  },
                  "source": {
                    "repo": "protemplate/searxng"
                  },
                  "variables": {
                    "PORT": {
                      "description": "Port SearXNG listens on. Also required so ${{SearXNG.PORT}} references resolve; matches the image's [::]:8080 IPv6 bind.",
                      "defaultValue": "8080"
                    },
                    "SEARXNG_SECRET_KEY": {
                      "description": "Injected into settings.yml at runtime to sign SearXNG sessions.",
                      "defaultValue": "{{SEARXNG_SECRET_KEY}}"
                    },
                    "SEARXNG_UWSGI_THREADS": {
                      "defaultValue": "4"
                    },
                    "SEARXNG_UWSGI_WORKERS": {
                      "defaultValue": "4"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  }
                },
                "3c4d5e6f-7a8b-4c9d-0e1f-2a3b4c5d6e7f": {
                  "icon": "https://devicons.railway.app/i/redis.svg",
                  "name": "Redis",
                  "deploy": {
                    "startCommand": "sh -c 'redis-server --requirepass \"$REDIS_PASSWORD\" --bind :: 0.0.0.0'",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 5
                  },
                  "source": {
                    "image": "redis:7-alpine"
                  },
                  "variables": {
                    "REDIS_PASSWORD": {
                      "description": "Password for Redis AUTH. Referenced by Open WebUI's REDIS_URL.",
                      "defaultValue": "{{REDIS_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  },
                  "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."
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Open WebUI",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 4,
    "needs_volume": true
  },
  "generated_at": "2026-09-10T10:14:45.332Z",
  "generator_version": "0.1.0"
}
