Helm chartv26.9.0App 2026.9.7-3e454637fVerified publisher

SearXNG is a privacy-respecting metasearch engine. Users are neither tracked nor profiled.

About this chart

searxng

SearXNG is a privacy-respecting metasearch engine. Users are neither tracked nor profiled.

This chart is not maintained by the upstream project and any issues with the chart should be raised here

Source Code

Requirements

Kubernetes: >=1.31.0-0

Dependencies

RepositoryNameVersion
file://../commoncommon26.9.0

TL;DR

helm repo add retsamedoc https://retsamedoc.github.io/helm-charts/
helm repo update
helm install searxng retsamedoc/searxng

Installing the Chart

To install the chart with the release name searxng

helm install searxng retsamedoc/searxng

Uninstalling the Chart

To uninstall the searxng deployment

helm uninstall searxng

The command removes all the Kubernetes components associated with the chart including persistent volumes and deletes the release.

Configuration

Read through the values.yaml file. It has several commented out suggested values. Other values may be used from the values.yaml from the common library.

Specify each parameter using the --set key=value[,key=value] argument to helm install.

helm install searxng \
  --set controllers.main.containers.main.env.TZ="America/New_York" \
    retsamedoc/searxng

Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the chart.

helm install searxng retsamedoc/searxng -f values.yaml

Custom configuration

SearXNG listens on port 8080. Kubernetes ignores the image VOLUME directives, so this chart mounts config and cache itself.

Base URL

Set the public URL (include the scheme and a trailing slash) so result links and the UI stay correct behind Ingress:

controllers:
  main:
    containers:
      main:
        env:
          SEARXNG_BASE_URL: "https://searxng.example.com/"

Leave it unset for port-forward only.

Secret key

Do not commit a production secret. Generate one and pass it as SEARXNG_SECRET (this overrides server.secret_key in settings.yml):

openssl rand -hex 32
controllers:
  main:
    containers:
      main:
        env:
          SEARXNG_SECRET: "<output of openssl rand -hex 32>"

Prefer a Secret and secretKeyRef in a private values file. The chart default secret_key is a non-secret placeholder so helm template succeeds; replace it before exposing the instance.

settings.yml

A chart-owned ConfigMap is mounted read-only at /etc/searxng (configMaps.settings / persistence.settings). It sets use_default_settings: true, turns the Valkey limiter off, and does not require outbound search engines for the process to stay up.

Edit configMaps.settings.data.settings.yml for instance name, engines, or server.method. The limiter needs Valkey (SEARXNG_VALKEY_URL); keep SEARXNG_LIMITER / server.limiter false unless that service exists.

To let the image write its own settings.yml (the entrypoint copies a template and replaces ultrasecretkey with a random value), disable the ConfigMap mount and enable the PVC:

persistence:
  settings:
    enabled: false
  config:
    enabled: true

That PVC is ReadWriteOnce at /etc/searxng. The controller strategy is Recreate so two pods do not attach the same volume.

Cache and ingress

persistence.cache is an emptyDir at /var/cache/searxng (favicon cache). Switch it to persistentVolumeClaim if you want that data to survive restarts.

Ingress is off by default. Enable ingress.main and set the host (placeholder searxng.local, same shape as other charts in this repo). Also set SEARXNG_BASE_URL to the external URL.

Values

Important: When deploying an application Helm chart you can add more values from the common library chart here

KeyTypeDefaultDescription
configMapsobjectSee values.yamlChart-owned settings.yml. Mounted at /etc/searxng. secret_key is a non-secret placeholder; override it with SEARXNG_SECRET (openssl rand -hex 32).
controllers.main.containers.main.envobjectSee belowenvironment variables.
controllers.main.containers.main.image.pullPolicystring"IfNotPresent"image pull policy
controllers.main.containers.main.image.repositorystring"docker.io/searxng/searxng"image repository
controllers.main.containers.main.image.tagstring"2026.9.7-3e454637f"image tag
ingress.mainobjectSee values.yamlEnable and configure ingress settings for the chart under this key.
persistenceobjectSee values.yamlConfigure persistence settings for the chart under this key.
serviceobjectSee values.yamlConfigures service settings for the chart. Normally this does not need to be modified.

Support


Autogenerated from chart metadata using helm-docs v1.14.2

Deploy searxng with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has searxng on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartsearxng is pinned at v26.9.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply