fix: searxng template (#651)

This commit is contained in:
Huba Tuba
2026-01-28 07:28:22 +01:00
committed by GitHub
parent 1ead7d06a4
commit bce7326959
2 changed files with 9 additions and 7 deletions

View File

@@ -1,20 +1,18 @@
version: "3.8"
services:
redis:
valkey:
image: valkey/valkey:8-alpine
command: valkey-server --save 30 1 --loglevel warning
restart: unless-stopped
volumes:
- redis-data:/data
- valkey-data:/data
searxng:
image: searxng/searxng:latest
restart: unless-stopped
volumes:
- searxng-config:/etc/searxng
- ../files/searxng:/etc/searxng
- searxng-data:/var/cache/searxng
volumes:
redis-data: {}
searxng-config: {}
valkey-data: {}
searxng-data: {}

View File

@@ -12,11 +12,15 @@ env = [
]
[[config.mounts]]
filePath = "/etc/searxng/settings.yml"
filePath = "/searxng/settings.yml"
content = """
use_default_settings: true
server:
secret_key: \"${secret_key}\"
limiter: false
image_proxy: false
valkey:
url: valkey://valkey:6379/0
"""