From a548c9655082fd60ebd2872aadc96b85a8fc20e5 Mon Sep 17 00:00:00 2001 From: Anish Sarkar <104695310+AnishSarkar22@users.noreply.github.com> Date: Sun, 15 Mar 2026 04:05:04 +0530 Subject: [PATCH] chore: update SearXNG installation scripts and directory structure - Updated the Docker Compose file to use the latest SearXNG image version 2026.3.13-3c1f68c59. - Added creation of the 'searxng' directory in installation scripts for better organization. - Included new configuration files (settings.yml and limiter.toml) in the installation process. --- docker/docker-compose.yml | 2 +- docker/scripts/install.ps1 | 3 +++ docker/scripts/install.sh | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 2541545ec..8c85248d2 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -43,7 +43,7 @@ services: retries: 5 searxng: - image: searxng/searxng:2024.12.23 + image: searxng/searxng:2026.3.13-3c1f68c59 volumes: - ./searxng:/etc/searxng environment: diff --git a/docker/scripts/install.ps1 b/docker/scripts/install.ps1 index 5f41ef7d6..b7004bae2 100644 --- a/docker/scripts/install.ps1 +++ b/docker/scripts/install.ps1 @@ -103,6 +103,7 @@ Write-Step "Downloading SurfSense files" Write-Info "Installation directory: $InstallDir" New-Item -ItemType Directory -Path "$InstallDir\scripts" -Force | Out-Null +New-Item -ItemType Directory -Path "$InstallDir\searxng" -Force | Out-Null $Files = @( @{ Src = "docker/docker-compose.yml"; Dest = "docker-compose.yml" } @@ -110,6 +111,8 @@ $Files = @( @{ Src = "docker/postgresql.conf"; Dest = "postgresql.conf" } @{ Src = "docker/scripts/init-electric-user.sh"; Dest = "scripts/init-electric-user.sh" } @{ Src = "docker/scripts/migrate-database.ps1"; Dest = "scripts/migrate-database.ps1" } + @{ Src = "docker/searxng/settings.yml"; Dest = "searxng/settings.yml" } + @{ Src = "docker/searxng/limiter.toml"; Dest = "searxng/limiter.toml" } ) foreach ($f in $Files) { diff --git a/docker/scripts/install.sh b/docker/scripts/install.sh index eb6aeb83d..7a68a9bd1 100644 --- a/docker/scripts/install.sh +++ b/docker/scripts/install.sh @@ -102,6 +102,7 @@ wait_for_pg() { step "Downloading SurfSense files" info "Installation directory: ${INSTALL_DIR}" mkdir -p "${INSTALL_DIR}/scripts" +mkdir -p "${INSTALL_DIR}/searxng" FILES=( "docker/docker-compose.yml:docker-compose.yml" @@ -109,6 +110,8 @@ FILES=( "docker/postgresql.conf:postgresql.conf" "docker/scripts/init-electric-user.sh:scripts/init-electric-user.sh" "docker/scripts/migrate-database.sh:scripts/migrate-database.sh" + "docker/searxng/settings.yml:searxng/settings.yml" + "docker/searxng/limiter.toml:searxng/limiter.toml" ) for entry in "${FILES[@]}"; do