Deploy Vane AI Search with SearXNG
Vane (formerly Perplexica) AI search with private SearXNG and login
Search
Just deployed
Application
Vane Gateway
Just deployed
Just deployed
/home/vane/data
Deploy and Host Vane AI Search with SearXNG on Railway
Deploy Vane, the open-source AI answering engine formerly called Perplexica, with its own private SearXNG metasearch instance and a password-protected gateway. Ask a question and get an answer with numbered citations linking to the web sources it used.
About Hosting Vane AI Search with SearXNG
Vane searches the web through SearXNG, reads the results, and has the language model of your choice write a cited answer. This template runs Vane v1.12.2 and SearXNG as separate private services, each pinned to an exact image digest, and puts a Caddy gateway with a generated password in front of them. Vane's settings, chat history and uploads are kept on a persistent volume.
Why Deploy Vane AI Search with SearXNG on Railway
Vane has no login of its own and stores your model API keys, so exposing it directly would let anyone read them and spend your credits. This template keeps Vane and SearXNG on Railway's private network, makes the authenticated gateway the only public entry point, and generates every credential at deploy time. It uses the current Vane release rather than the retired Perplexica image.
Common Use Cases
- A private Perplexity-style research assistant using your own OpenAI, Anthropic, Gemini, Groq, OpenRouter or Ollama key.
- Cited web answers for a small team without sending searches to a third-party search API.
- Chat with uploaded documents alongside web results, with history kept between sessions.
Dependencies for Vane AI Search with SearXNG Hosting
You need an API key or endpoint for a language model provider. The template includes everything else and generates all credentials.
Deployment Dependencies
- Vane
v1.12.2(slim image) for the web app and answer engine. - SearXNG for private metasearch, configured for JSON output and private use.
- Caddy
2.11.9for HTTP Basic Auth and the public reverse proxy. - One 5 GB volume for Vane's settings, SQLite chat history and uploads.
After deployment, open Vane Gateway and sign in with VANE_USERNAME and VANE_PASSWORD from that service's variables. In Vane's setup screen, add your model provider and key, then pick a chat model and an embedding model.
This is a single-replica deployment with one shared login, intended for personal or small-team use. Public search engines can rate-limit traffic from cloud IP addresses at times. To enable SearXNG's Wikipedia, Wikidata and OpenStreetMap engines, set SEARXNG_CONTACT_URL on the SearXNG service to your own contact URL or email address.
Template Content
Vane Gateway
caddy:2.11.9-alpine
