settings_redis.rst.txt 820 B

12345678910111213141516171819202122232425262728293031323334353637
  1. .. _settings redis:
  2. ==========
  3. ``redis:``
  4. ==========
  5. .. _Valkey: https://valkey.io
  6. .. attention::
  7. SearXNG is switching from the Redis DB to Valkey_. The configuration
  8. description of Valkey_ in SearXNG can be found here: :ref:`settings
  9. <settings valkey>`.
  10. If you have built and installed a local Redis DB for SearXNG, it is recommended
  11. to uninstall it now and replace it with the installation of a Valkey_ DB.
  12. .. _Redis Developer Notes:
  13. Redis Developer Notes
  14. =====================
  15. To uninstall SearXNG's local Redis DB you can use:
  16. .. code:: sh
  17. # stop your SearXNG instance
  18. $ ./utils/searxng.sh remove.redis
  19. Remove the Redis DB in your YAML setting:
  20. .. code:: yaml
  21. redis:
  22. url: unix:///usr/local/searxng-redis/run/redis.sock?db=0
  23. To install Valkey_ read: :ref:`Valkey Developer Notes`