2023-06-30 18:07:02 +02:00
|
|
|
.. _settings redis:
|
|
|
|
|
|
|
|
|
|
==========
|
|
|
|
|
``redis:``
|
|
|
|
|
==========
|
|
|
|
|
|
2025-07-09 07:55:37 +02:00
|
|
|
.. _Valkey: https://valkey.io
|
2023-06-30 18:07:02 +02:00
|
|
|
|
2025-07-09 07:55:37 +02:00
|
|
|
.. attention::
|
2023-06-30 18:07:02 +02:00
|
|
|
|
2025-07-09 07:55:37 +02:00
|
|
|
SearXNG is switching from the Redis DB to Valkey_. The configuration
|
|
|
|
|
description of Valkey_ in SearXNG can be found here: :ref:`settings
|
|
|
|
|
<settings valkey>`.
|
2023-06-30 18:07:02 +02:00
|
|
|
|
2025-07-09 07:55:37 +02:00
|
|
|
If you have built and installed a local Redis DB for SearXNG, it is recommended
|
|
|
|
|
to uninstall it now and replace it with the installation of a Valkey_ DB.
|
2023-06-30 18:07:02 +02:00
|
|
|
|
2023-08-06 16:39:00 +02:00
|
|
|
.. _Redis Developer Notes:
|
2023-06-30 18:07:02 +02:00
|
|
|
|
2023-08-06 16:39:00 +02:00
|
|
|
Redis Developer Notes
|
|
|
|
|
=====================
|
2023-06-30 18:07:02 +02:00
|
|
|
|
2025-07-09 07:55:37 +02:00
|
|
|
To uninstall SearXNG's local Redis DB you can use:
|
2023-06-30 18:07:02 +02:00
|
|
|
|
2025-07-09 07:55:37 +02:00
|
|
|
.. code:: sh
|
2023-06-30 18:07:02 +02:00
|
|
|
|
2025-07-09 07:55:37 +02:00
|
|
|
# stop your SearXNG instance
|
|
|
|
|
$ ./utils/searxng.sh remove.redis
|
2023-06-30 18:07:02 +02:00
|
|
|
|
2025-07-09 07:55:37 +02:00
|
|
|
Remove the Redis DB in your YAML setting:
|
2023-08-06 16:39:00 +02:00
|
|
|
|
2025-07-09 07:55:37 +02:00
|
|
|
.. code:: yaml
|
2023-08-06 16:39:00 +02:00
|
|
|
|
2025-07-09 07:55:37 +02:00
|
|
|
redis:
|
|
|
|
|
url: unix:///usr/local/searxng-redis/run/redis.sock?db=0
|
2023-06-30 18:07:02 +02:00
|
|
|
|
2025-07-09 07:55:37 +02:00
|
|
|
To install Valkey_ read: :ref:`Valkey Developer Notes`
|