mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 00:36:31 +02:00
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.
This commit is contained in:
parent
c1fe95939f
commit
a548c96550
3 changed files with 7 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ services:
|
||||||
retries: 5
|
retries: 5
|
||||||
|
|
||||||
searxng:
|
searxng:
|
||||||
image: searxng/searxng:2024.12.23
|
image: searxng/searxng:2026.3.13-3c1f68c59
|
||||||
volumes:
|
volumes:
|
||||||
- ./searxng:/etc/searxng
|
- ./searxng:/etc/searxng
|
||||||
environment:
|
environment:
|
||||||
|
|
|
||||||
|
|
@ -103,6 +103,7 @@ Write-Step "Downloading SurfSense files"
|
||||||
Write-Info "Installation directory: $InstallDir"
|
Write-Info "Installation directory: $InstallDir"
|
||||||
|
|
||||||
New-Item -ItemType Directory -Path "$InstallDir\scripts" -Force | Out-Null
|
New-Item -ItemType Directory -Path "$InstallDir\scripts" -Force | Out-Null
|
||||||
|
New-Item -ItemType Directory -Path "$InstallDir\searxng" -Force | Out-Null
|
||||||
|
|
||||||
$Files = @(
|
$Files = @(
|
||||||
@{ Src = "docker/docker-compose.yml"; Dest = "docker-compose.yml" }
|
@{ Src = "docker/docker-compose.yml"; Dest = "docker-compose.yml" }
|
||||||
|
|
@ -110,6 +111,8 @@ $Files = @(
|
||||||
@{ Src = "docker/postgresql.conf"; Dest = "postgresql.conf" }
|
@{ Src = "docker/postgresql.conf"; Dest = "postgresql.conf" }
|
||||||
@{ Src = "docker/scripts/init-electric-user.sh"; Dest = "scripts/init-electric-user.sh" }
|
@{ 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/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) {
|
foreach ($f in $Files) {
|
||||||
|
|
|
||||||
|
|
@ -102,6 +102,7 @@ wait_for_pg() {
|
||||||
step "Downloading SurfSense files"
|
step "Downloading SurfSense files"
|
||||||
info "Installation directory: ${INSTALL_DIR}"
|
info "Installation directory: ${INSTALL_DIR}"
|
||||||
mkdir -p "${INSTALL_DIR}/scripts"
|
mkdir -p "${INSTALL_DIR}/scripts"
|
||||||
|
mkdir -p "${INSTALL_DIR}/searxng"
|
||||||
|
|
||||||
FILES=(
|
FILES=(
|
||||||
"docker/docker-compose.yml:docker-compose.yml"
|
"docker/docker-compose.yml:docker-compose.yml"
|
||||||
|
|
@ -109,6 +110,8 @@ FILES=(
|
||||||
"docker/postgresql.conf:postgresql.conf"
|
"docker/postgresql.conf:postgresql.conf"
|
||||||
"docker/scripts/init-electric-user.sh:scripts/init-electric-user.sh"
|
"docker/scripts/init-electric-user.sh:scripts/init-electric-user.sh"
|
||||||
"docker/scripts/migrate-database.sh:scripts/migrate-database.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
|
for entry in "${FILES[@]}"; do
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue