Levelrail
Skip to content

Self-host SearXNG with Docker ​

A privacy-respecting metasearch engine that aggregates results from dozens of search services.

This page describes the Levelrail template for SearXNG (Applications). It deploys the services below as one Docker Compose app on your own server.

Project site: https://docs.searxng.org.

Recommended memory: about 256 MiB.

Services, ports and volumes ​

ServiceImageContainer portsVolumes
redisredis:7-alpinenone
searxng_redis_data -> /data
searxngsearxng/searxng:2026.9.23-3cd69d30e8080none

Environment variables ​

ServiceVariableValue
searxngSEARXNG_REDIS_URLPreset in the template
searxngSEARXNG_SECRETGenerated at deploy

Passwords and keys marked as generated are created for you when the app is deployed and stored as secrets. Values are not shown here.

Deploy SearXNG with Levelrail ​

In the dashboard, open Apps, choose New app, then Browse templates, and select SearXNG. Review the Compose body and deploy.

With the CLI:

levelrail-cli templates deploy searxng --name my-searxng

See Service template catalog for how templates work, and Getting started if you have not installed Levelrail yet.

More Applications templates ​

All templates are listed in the self-host gallery.

Released under the Apache 2.0 License.