{
  "manifest_version": "1.0.0",
  "template": {
    "id": "4ccd3410-3e0a-4954-9d51-89bdb1cbdf15",
    "slug": "open-webui-v012-ollama-private-ai",
    "name": "Open WebUI v0.12 + Ollama Private AI",
    "description": "Private AI chat: run open models with web search, RAG and multiple users.",
    "url": "https://railway.com/deploy/open-webui-v012-ollama-private-ai",
    "upstream": {
      "image": "ghcr.io/open-webui/open-webui:v0.12.0"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Open WebUI",
      "source": {
        "image": "ghcr.io/open-webui/open-webui:v0.12.0"
      },
      "needs_volume": true,
      "volume_mount_path": "/app/backend/data",
      "http": true
    },
    {
      "name": "Postgres",
      "source": {
        "image": "pgvector/pgvector:0.8.7-pg18-trixie"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql/data",
      "http": false
    },
    {
      "name": "SearXNG",
      "source": {
        "repo": "https://github.com/baranberkay96/open-webui-ollama-railway"
      },
      "needs_volume": false,
      "http": false
    },
    {
      "name": "Ollama",
      "source": {
        "repo": "https://github.com/baranberkay96/open-webui-ollama-railway"
      },
      "needs_volume": true,
      "volume_mount_path": "/root/.ollama",
      "http": false
    },
    {
      "name": "Redis",
      "source": {
        "image": "redis:8.2"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "HOST",
      "service": "Open WebUI",
      "description": "Bind address. 0.0.0.0, not '::': single-worker uvicorn on '::' is IPv6-only and Railway's healthcheck connects over IPv4.",
      "secret": false,
      "strategy": "default",
      "default": "0.0.0.0"
    },
    {
      "key": "PORT",
      "service": "Open WebUI",
      "description": "HTTP port (public domain target).",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "REDIS_URL",
      "service": "Open WebUI",
      "description": "Redis for app state, task control and websockets.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "VECTOR_DB",
      "service": "Open WebUI",
      "description": "Store RAG embeddings in Postgres (pgvector) instead of the embedded Chroma.",
      "secret": false,
      "strategy": "default",
      "default": "pgvector"
    },
    {
      "key": "WEBUI_URL",
      "service": "Open WebUI",
      "description": "Public URL (links, OAuth callbacks, notifications).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "DATABASE_URL",
      "service": "Open WebUI",
      "description": "Postgres for users, chats, settings and knowledge metadata.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "DO_NOT_TRACK",
      "service": "Open WebUI",
      "description": "Disable tracking.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "DEFAULT_MODELS",
      "service": "Open WebUI",
      "description": "Model preselected for new chats.",
      "secret": false,
      "strategy": "default",
      "default": "llama3.2:3b"
    },
    {
      "key": "OLLAMA_BASE_URL",
      "service": "Open WebUI",
      "description": "Private Ollama endpoint.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "UVICORN_WORKERS",
      "service": "Open WebUI",
      "description": "Uvicorn worker processes. Raise to 2-4 after the first successful boot (migrations run per worker at startup).",
      "secret": false,
      "strategy": "default",
      "default": "1"
    },
    {
      "key": "WEBUI_ADMIN_NAME",
      "service": "Open WebUI",
      "description": "Display name of the bootstrap admin.",
      "secret": false,
      "strategy": "default",
      "default": "Admin"
    },
    {
      "key": "WEBUI_SECRET_KEY",
      "service": "Open WebUI",
      "description": "Signs sessions/JWTs and encrypts OAuth tokens. Never change after first boot.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "CORS_ALLOW_ORIGIN",
      "service": "Open WebUI",
      "description": "Allowed browser origins (semicolon-separated).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "DEFAULT_USER_ROLE",
      "service": "Open WebUI",
      "description": "Role for users who sign up later (admin approves them).",
      "secret": false,
      "strategy": "default",
      "default": "pending"
    },
    {
      "key": "ENABLE_WEB_SEARCH",
      "service": "Open WebUI",
      "description": "Enable web search in chats.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "SEARXNG_QUERY_URL",
      "service": "Open WebUI",
      "description": "SearXNG search endpoint (JSON format).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "WEBSOCKET_MANAGER",
      "service": "Open WebUI",
      "description": "Socket.IO state in Redis (required for more than one worker).",
      "secret": false,
      "strategy": "default",
      "default": "redis"
    },
    {
      "key": "WEBUI_ADMIN_EMAIL",
      "service": "Open WebUI",
      "description": "Email (login) of the admin account created on first boot. Sign-up is disabled once it exists.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "WEB_SEARCH_ENGINE",
      "service": "Open WebUI",
      "description": "Use the private SearXNG service.",
      "secret": false,
      "strategy": "default",
      "default": "searxng"
    },
    {
      "key": "DATABASE_POOL_SIZE",
      "service": "Open WebUI",
      "description": "SQLAlchemy pool size per worker.",
      "secret": false,
      "strategy": "default",
      "default": "10"
    },
    {
      "key": "SCARF_NO_ANALYTICS",
      "service": "Open WebUI",
      "description": "Disable Scarf analytics.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "RAG_EMBEDDING_MODEL",
      "service": "Open WebUI",
      "description": "Embedding model pulled by the Ollama service.",
      "secret": false,
      "strategy": "default",
      "default": "nomic-embed-text:v1.5"
    },
    {
      "key": "ANONYMIZED_TELEMETRY",
      "service": "Open WebUI",
      "description": "Disable anonymous telemetry.",
      "secret": false,
      "strategy": "default",
      "default": "false"
    },
    {
      "key": "RAG_EMBEDDING_ENGINE",
      "service": "Open WebUI",
      "description": "Compute document embeddings with Ollama (no local embedding model in this container).",
      "secret": false,
      "strategy": "default",
      "default": "ollama"
    },
    {
      "key": "WEBUI_ADMIN_PASSWORD",
      "service": "Open WebUI",
      "description": "Password of the bootstrap admin account (generated). Change it after first login.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "DATABASE_POOL_RECYCLE",
      "service": "Open WebUI",
      "description": "Recycle DB connections after N seconds.",
      "secret": false,
      "strategy": "default",
      "default": "1800"
    },
    {
      "key": "WEB_SEARCH_RESULT_COUNT",
      "service": "Open WebUI",
      "description": "Search results fetched per query.",
      "secret": false,
      "strategy": "default",
      "default": "5"
    },
    {
      "key": "ENABLE_WEBSOCKET_SUPPORT",
      "service": "Open WebUI",
      "description": "Real-time streaming over websockets.",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "DATABASE_POOL_MAX_OVERFLOW",
      "service": "Open WebUI",
      "description": "Extra connections above the pool size.",
      "secret": false,
      "strategy": "default",
      "default": "5"
    },
    {
      "key": "PGVECTOR_INITIALIZE_MAX_VECTOR_LENGTH",
      "service": "Open WebUI",
      "description": "Vector column size; fits nomic-embed-text (768, zero-padded) and 1536-dim API embeddings. Fixed after first use.",
      "secret": false,
      "strategy": "default",
      "default": "1536"
    },
    {
      "key": "PGDATA",
      "service": "Postgres",
      "description": "Location where the database will be initialized",
      "secret": false,
      "strategy": "default",
      "default": "/var/lib/postgresql/data/pgdata"
    },
    {
      "key": "PGHOST",
      "service": "Postgres",
      "description": "Railway Private Domain Name.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PGPORT",
      "service": "Postgres",
      "description": "Port to connect to Postgres.",
      "secret": false,
      "strategy": "default",
      "default": "5432"
    },
    {
      "key": "PGUSER",
      "service": "Postgres",
      "description": "Required variable for Data panel",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGDATABASE",
      "service": "Postgres",
      "description": "Required variable for the data panel.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "PGPASSWORD",
      "service": "Postgres",
      "description": "Required variable for Data panel",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "POSTGRES_DB",
      "service": "Postgres",
      "description": "Default database created when image is started.",
      "secret": false,
      "strategy": "default",
      "default": "railway"
    },
    {
      "key": "DATABASE_URL",
      "service": "Postgres",
      "description": "URL to connect to Postgres database.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "POSTGRES_USER",
      "service": "Postgres",
      "description": "User to connect to Postgres DB",
      "secret": false,
      "strategy": "default",
      "default": "postgres"
    },
    {
      "key": "SSL_CERT_DAYS",
      "service": "Postgres",
      "description": "SSL certificate expiry in days.",
      "secret": false,
      "strategy": "default",
      "default": "820"
    },
    {
      "key": "POSTGRES_PASSWORD",
      "service": "Postgres",
      "description": "Password to connect to DB",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_DEPLOYMENT_DRAINING_SECONDS",
      "service": "Postgres",
      "description": "Allow Postgres to cleanly shut down",
      "secret": false,
      "strategy": "default",
      "default": "60"
    },
    {
      "key": "PORT",
      "service": "SearXNG",
      "description": "SearXNG port (private).",
      "secret": false,
      "strategy": "default",
      "default": "8080"
    },
    {
      "key": "SEARXNG_SECRET",
      "service": "SearXNG",
      "description": "SearXNG server secret.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "SEARXNG_BASE_URL",
      "service": "SearXNG",
      "description": "Internal base URL (instance is private-only).",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "PORT",
      "service": "Ollama",
      "description": "Ollama API port (private).",
      "secret": false,
      "strategy": "default",
      "default": "11434"
    },
    {
      "key": "OLLAMA_HOST",
      "service": "Ollama",
      "description": "Bind address for the Ollama API (IPv4+IPv6).",
      "secret": false,
      "strategy": "default",
      "default": "[::]:11434"
    },
    {
      "key": "OLLAMA_KEEP_ALIVE",
      "service": "Ollama",
      "description": "Unload idle models after this time to free RAM.",
      "secret": false,
      "strategy": "default",
      "default": "5m"
    },
    {
      "key": "OLLAMA_PULL_MODELS",
      "service": "Ollama",
      "description": "Models pulled on first boot (comma-separated): a chat model and the RAG embedding model.",
      "secret": false,
      "strategy": "default",
      "default": "llama3.2:3b,nomic-embed-text:v1.5"
    },
    {
      "key": "OLLAMA_CONTEXT_LENGTH",
      "service": "Ollama",
      "description": "Default context window for chats with documents/web results.",
      "secret": false,
      "strategy": "default",
      "default": "8192"
    },
    {
      "key": "OLLAMA_MAX_LOADED_MODELS",
      "service": "Ollama",
      "description": "Keep chat + embedding model loaded together.",
      "secret": false,
      "strategy": "default",
      "default": "2"
    },
    {
      "key": "REDISHOST",
      "service": "Redis",
      "description": "Private network hostname of the Redis service, only resolvable from services in the same environment",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "REDISPORT",
      "service": "Redis",
      "description": "Port that Redis listens on",
      "secret": false,
      "strategy": "default",
      "default": "6379"
    },
    {
      "key": "REDISUSER",
      "service": "Redis",
      "description": "Username for authenticating with Redis",
      "secret": false,
      "strategy": "default",
      "default": "default"
    },
    {
      "key": "REDIS_URL",
      "service": "Redis",
      "description": "Connection string for connecting to Redis using the private network",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDISPASSWORD",
      "service": "Redis",
      "description": "Alias of REDIS_PASSWORD for clients that expect the unseparated name",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "REDIS_PASSWORD",
      "service": "Redis",
      "description": "Randomly generated password for authenticating with Redis",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "open-webui-v012-ollama-private-ai"
      }
    },
    "cli": "railway deploy --template open-webui-v012-ollama-private-ai",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "4ccd3410-3e0a-4954-9d51-89bdb1cbdf15",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "12f15a26-7833-5ba6-9f0f-493577d85879": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/open-webui.svg",
                  "name": "Open WebUI",
                  "deploy": {
                    "healthcheckPath": "/health",
                    "restartPolicyType": "ON_FAILURE",
                    "healthcheckTimeout": 600,
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/open-webui/open-webui:v0.12.0"
                  },
                  "variables": {
                    "HOST": {
                      "isOptional": true,
                      "description": "Bind address. 0.0.0.0, not '::': single-worker uvicorn on '::' is IPv6-only and Railway's healthcheck connects over IPv4.",
                      "defaultValue": "0.0.0.0"
                    },
                    "PORT": {
                      "isOptional": true,
                      "description": "HTTP port (public domain target).",
                      "defaultValue": "8080"
                    },
                    "REDIS_URL": {
                      "isOptional": true,
                      "description": "Redis for app state, task control and websockets.",
                      "defaultValue": "${{Redis.REDIS_URL}}"
                    },
                    "VECTOR_DB": {
                      "isOptional": true,
                      "description": "Store RAG embeddings in Postgres (pgvector) instead of the embedded Chroma.",
                      "defaultValue": "pgvector"
                    },
                    "WEBUI_URL": {
                      "isOptional": true,
                      "description": "Public URL (links, OAuth callbacks, notifications).",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "DATABASE_URL": {
                      "isOptional": true,
                      "description": "Postgres for users, chats, settings and knowledge metadata.",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "DO_NOT_TRACK": {
                      "isOptional": true,
                      "description": "Disable tracking.",
                      "defaultValue": "true"
                    },
                    "DEFAULT_MODELS": {
                      "isOptional": true,
                      "description": "Model preselected for new chats.",
                      "defaultValue": "llama3.2:3b"
                    },
                    "OPENAI_API_KEY": {
                      "isOptional": true,
                      "description": "Optional: add an OpenAI (or compatible) key to use hosted models alongside local ones.",
                      "defaultValue": ""
                    },
                    "OLLAMA_BASE_URL": {
                      "isOptional": true,
                      "description": "Private Ollama endpoint.",
                      "defaultValue": "http://${{Ollama.RAILWAY_PRIVATE_DOMAIN}}:11434"
                    },
                    "UVICORN_WORKERS": {
                      "isOptional": true,
                      "description": "Uvicorn worker processes. Raise to 2-4 after the first successful boot (migrations run per worker at startup).",
                      "defaultValue": "1"
                    },
                    "WEBUI_ADMIN_NAME": {
                      "isOptional": true,
                      "description": "Display name of the bootstrap admin.",
                      "defaultValue": "Admin"
                    },
                    "WEBUI_SECRET_KEY": {
                      "isOptional": true,
                      "description": "Signs sessions/JWTs and encrypts OAuth tokens. Never change after first boot.",
                      "defaultValue": "{{WEBUI_SECRET_KEY}}"
                    },
                    "CORS_ALLOW_ORIGIN": {
                      "isOptional": true,
                      "description": "Allowed browser origins (semicolon-separated).",
                      "defaultValue": "https://${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "DEFAULT_USER_ROLE": {
                      "isOptional": true,
                      "description": "Role for users who sign up later (admin approves them).",
                      "defaultValue": "pending"
                    },
                    "ENABLE_WEB_SEARCH": {
                      "isOptional": true,
                      "description": "Enable web search in chats.",
                      "defaultValue": "true"
                    },
                    "SEARXNG_QUERY_URL": {
                      "isOptional": true,
                      "description": "SearXNG search endpoint (JSON format).",
                      "defaultValue": "http://${{SearXNG.RAILWAY_PRIVATE_DOMAIN}}:8080/search"
                    },
                    "WEBSOCKET_MANAGER": {
                      "isOptional": true,
                      "description": "Socket.IO state in Redis (required for more than one worker).",
                      "defaultValue": "redis"
                    },
                    "WEBUI_ADMIN_EMAIL": {
                      "isOptional": false,
                      "description": "Email (login) of the admin account created on first boot. Sign-up is disabled once it exists.",
                      "defaultValue": "{{WEBUI_ADMIN_EMAIL}}"
                    },
                    "WEB_SEARCH_ENGINE": {
                      "isOptional": true,
                      "description": "Use the private SearXNG service.",
                      "defaultValue": "searxng"
                    },
                    "DATABASE_POOL_SIZE": {
                      "isOptional": true,
                      "description": "SQLAlchemy pool size per worker.",
                      "defaultValue": "10"
                    },
                    "SCARF_NO_ANALYTICS": {
                      "isOptional": true,
                      "description": "Disable Scarf analytics.",
                      "defaultValue": "true"
                    },
                    "RAG_EMBEDDING_MODEL": {
                      "isOptional": true,
                      "description": "Embedding model pulled by the Ollama service.",
                      "defaultValue": "nomic-embed-text:v1.5"
                    },
                    "ANONYMIZED_TELEMETRY": {
                      "isOptional": true,
                      "description": "Disable anonymous telemetry.",
                      "defaultValue": "false"
                    },
                    "RAG_EMBEDDING_ENGINE": {
                      "isOptional": true,
                      "description": "Compute document embeddings with Ollama (no local embedding model in this container).",
                      "defaultValue": "ollama"
                    },
                    "WEBUI_ADMIN_PASSWORD": {
                      "isOptional": true,
                      "description": "Password of the bootstrap admin account (generated). Change it after first login.",
                      "defaultValue": "{{WEBUI_ADMIN_PASSWORD}}"
                    },
                    "DATABASE_POOL_RECYCLE": {
                      "isOptional": true,
                      "description": "Recycle DB connections after N seconds.",
                      "defaultValue": "1800"
                    },
                    "WEB_SEARCH_RESULT_COUNT": {
                      "isOptional": true,
                      "description": "Search results fetched per query.",
                      "defaultValue": "5"
                    },
                    "ENABLE_WEBSOCKET_SUPPORT": {
                      "isOptional": true,
                      "description": "Real-time streaming over websockets.",
                      "defaultValue": "true"
                    },
                    "DATABASE_POOL_MAX_OVERFLOW": {
                      "isOptional": true,
                      "description": "Extra connections above the pool size.",
                      "defaultValue": "5"
                    },
                    "PGVECTOR_INITIALIZE_MAX_VECTOR_LENGTH": {
                      "isOptional": true,
                      "description": "Vector column size; fits nomic-embed-text (768, zero-padded) and 1536-dim API embeddings. Fixed after first use.",
                      "defaultValue": "1536"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "0208a0e4-1d01-57be-9581-d2029e9ed2a0": {
                      "mountPath": "/app/backend/data"
                    }
                  }
                },
                "187d8844-7a20-56bf-8538-89c786aa0d78": {
                  "icon": "https://devicons.railway.app/i/postgresql.svg",
                  "name": "Postgres",
                  "deploy": {
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "pgvector/pgvector:0.8.7-pg18-trixie"
                  },
                  "variables": {
                    "PGDATA": {
                      "isOptional": true,
                      "description": "Location where the database will be initialized",
                      "defaultValue": "/var/lib/postgresql/data/pgdata"
                    },
                    "PGHOST": {
                      "isOptional": true,
                      "description": "Railway Private Domain Name.",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "PGPORT": {
                      "isOptional": true,
                      "description": "Port to connect to Postgres.",
                      "defaultValue": "5432"
                    },
                    "PGUSER": {
                      "isOptional": true,
                      "description": "Required variable for Data panel",
                      "defaultValue": "${{ POSTGRES_USER }}"
                    },
                    "PGDATABASE": {
                      "isOptional": true,
                      "description": "Required variable for the data panel.",
                      "defaultValue": "${{POSTGRES_DB}}"
                    },
                    "PGPASSWORD": {
                      "isOptional": true,
                      "description": "Required variable for Data panel",
                      "defaultValue": "${{POSTGRES_PASSWORD}}"
                    },
                    "POSTGRES_DB": {
                      "isOptional": true,
                      "description": "Default database created when image is started.",
                      "defaultValue": "railway"
                    },
                    "DATABASE_URL": {
                      "isOptional": true,
                      "description": "URL to connect to Postgres database.",
                      "defaultValue": "postgresql://${{PGUSER}}:${{POSTGRES_PASSWORD}}@${{RAILWAY_PRIVATE_DOMAIN}}:5432/${{PGDATABASE}}"
                    },
                    "POSTGRES_USER": {
                      "isOptional": true,
                      "description": "User to connect to Postgres DB",
                      "defaultValue": "postgres"
                    },
                    "SSL_CERT_DAYS": {
                      "isOptional": true,
                      "description": "SSL certificate expiry in days.",
                      "defaultValue": "820"
                    },
                    "POSTGRES_PASSWORD": {
                      "isOptional": true,
                      "description": "Password to connect to DB",
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    },
                    "RAILWAY_DEPLOYMENT_DRAINING_SECONDS": {
                      "isOptional": true,
                      "description": "Allow Postgres to cleanly shut down",
                      "defaultValue": "60"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "3be0ff1c-0cb9-540e-833c-bde58b993a1d": {
                      "mountPath": "/var/lib/postgresql/data"
                    }
                  }
                },
                "a9b47a9f-f660-5157-b223-5f5dd8181260": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/searxng.svg",
                  "name": "SearXNG",
                  "build": {
                    "builder": "DOCKERFILE"
                  },
                  "deploy": {
                    "healthcheckPath": "/healthz",
                    "restartPolicyType": "ON_FAILURE",
                    "healthcheckTimeout": 120,
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "baranberkay96/open-webui-ollama-railway",
                    "branch": "main",
                    "rootDirectory": "/services/searxng"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": true,
                      "description": "SearXNG port (private).",
                      "defaultValue": "8080"
                    },
                    "SEARXNG_SECRET": {
                      "isOptional": true,
                      "description": "SearXNG server secret.",
                      "defaultValue": "{{SEARXNG_SECRET}}"
                    },
                    "SEARXNG_BASE_URL": {
                      "isOptional": true,
                      "description": "Internal base URL (instance is private-only).",
                      "defaultValue": "http://${{RAILWAY_PRIVATE_DOMAIN}}:8080/"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  }
                },
                "d0a5b587-7cda-5ae3-bb64-1e20251628a0": {
                  "icon": "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/ollama.svg",
                  "name": "Ollama",
                  "build": {
                    "builder": "DOCKERFILE"
                  },
                  "deploy": {
                    "healthcheckPath": "/",
                    "restartPolicyType": "ON_FAILURE",
                    "healthcheckTimeout": 300,
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "repo": "baranberkay96/open-webui-ollama-railway",
                    "branch": "main",
                    "rootDirectory": "/services/ollama"
                  },
                  "variables": {
                    "PORT": {
                      "isOptional": true,
                      "description": "Ollama API port (private).",
                      "defaultValue": "11434"
                    },
                    "OLLAMA_HOST": {
                      "isOptional": true,
                      "description": "Bind address for the Ollama API (IPv4+IPv6).",
                      "defaultValue": "[::]:11434"
                    },
                    "OLLAMA_KEEP_ALIVE": {
                      "isOptional": true,
                      "description": "Unload idle models after this time to free RAM.",
                      "defaultValue": "5m"
                    },
                    "OLLAMA_PULL_MODELS": {
                      "isOptional": true,
                      "description": "Models pulled on first boot (comma-separated): a chat model and the RAG embedding model.",
                      "defaultValue": "llama3.2:3b,nomic-embed-text:v1.5"
                    },
                    "OLLAMA_CONTEXT_LENGTH": {
                      "isOptional": true,
                      "description": "Default context window for chats with documents/web results.",
                      "defaultValue": "8192"
                    },
                    "OLLAMA_MAX_LOADED_MODELS": {
                      "isOptional": true,
                      "description": "Keep chat + embedding model loaded together.",
                      "defaultValue": "2"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "47e6c2c2-dc0f-5e66-94e5-5c0c63c66a8d": {
                      "mountPath": "/root/.ollama"
                    }
                  }
                },
                "d9c474f1-35f6-5441-adb3-fdf6269feedd": {
                  "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\"",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "redis:8.2"
                  },
                  "variables": {
                    "REDISHOST": {
                      "isOptional": true,
                      "description": "Private network hostname of the Redis service, only resolvable from services in the same environment",
                      "defaultValue": "${{RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "REDISPORT": {
                      "isOptional": true,
                      "description": "Port that Redis listens on",
                      "defaultValue": "6379"
                    },
                    "REDISUSER": {
                      "isOptional": true,
                      "description": "Username for authenticating with Redis",
                      "defaultValue": "default"
                    },
                    "REDIS_URL": {
                      "isOptional": true,
                      "description": "Connection string for connecting to Redis using the private network",
                      "defaultValue": "redis://${{ REDISUSER }}:${{ REDIS_PASSWORD }}@${{ REDISHOST }}:${{ REDISPORT }}"
                    },
                    "REDISPASSWORD": {
                      "isOptional": true,
                      "description": "Alias of REDIS_PASSWORD for clients that expect the unseparated name",
                      "defaultValue": "${{REDIS_PASSWORD}}"
                    },
                    "REDIS_PASSWORD": {
                      "isOptional": true,
                      "description": "Randomly generated password for authenticating with Redis",
                      "defaultValue": "{{REDIS_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  },
                  "volumeMounts": {
                    "bb645d5f-c2e8-5f28-9ebe-53e5195ede32": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "Open WebUI",
      "method": "GET",
      "path": "/health",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 5,
    "needs_volume": true
  },
  "generated_at": "2026-10-11T16:14:40.554Z",
  "generator_version": "0.1.0"
}
