summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorIvan Gabaldon <igabaldon@inetol.net>2026-04-04 21:57:32 +0200
committerGitHub <noreply@github.com>2026-04-04 21:57:32 +0200
commit69f04d59dc1ac0707f91a962e8c18c388ae0294e (patch)
treea52d48d2cd1d8435fd1e8d7bf44b7f47eb05988b /docs
parent7adace694c663d03f20c021b8dc369472706fcd1 (diff)
[fix] docs: container compose typo (#5952)
Diffstat (limited to 'docs')
-rw-r--r--docs/admin/installation-docker.rst23
1 files changed, 17 insertions, 6 deletions
diff --git a/docs/admin/installation-docker.rst b/docs/admin/installation-docker.rst
index 1a793d867..16c30249e 100644
--- a/docs/admin/installation-docker.rst
+++ b/docs/admin/installation-docker.rst
@@ -92,11 +92,18 @@ Setup
$ cd ./searxng/
# Fetch the latest compose template
- $ curl -fsSLO \
- https://raw.githubusercontent.com/searxng/searxng/master/container/docker-compose.yml \
- https://raw.githubusercontent.com/searxng/searxng/master/container/.env.example
+ $ curl -fsSL \
+ -O https://raw.githubusercontent.com/searxng/searxng/master/container/docker-compose.yml \
+ -O https://raw.githubusercontent.com/searxng/searxng/master/container/.env.example
+
+2. Copy the ``.env.example`` file and edit the values as needed:
-2. Rename the ``.env.example`` file to ``.env`` and edit the values as needed.
+.. code:: sh
+
+ $ cp -i .env.example .env
+
+ # nano or your preferred text editor...
+ $ nano .env
3. Start & stop the services:
@@ -312,8 +319,12 @@ the old mount to the new one:
$ mv ./searxng-docker/searxng/* ./searxng/core-config/
-If you have any custom environment variables in the old ``.env`` file, make
-sure to add them manually to the new one.
+If using Valkey features like bot protection (limiter), you will need to update
+the URL hostname in :origin:`searx/settings.yml` file to ``valkey`` or
+``searxng-valkey``.
+
+If you have any environment variables in the old ``.env`` file, make
+sure to add them to the new one.
Consider setting up a reverse proxy if exposing the instance to the public.