fix: update SearXNG configuration for Redis URL and add base URL

This commit is contained in:
2026-05-12 16:37:52 +08:00
parent e0a042608a
commit 042f04601c
2 changed files with 18 additions and 3 deletions
+3 -1
View File
@@ -14,6 +14,8 @@ services:
redis_valkey:
image: docker.io/valkey/valkey:7-alpine
command: valkey-server --save 30 1 --loglevel warning
sysctls:
- vm.overcommit_memory=1
restart: unless-stopped
cap_drop:
- ALL
@@ -41,7 +43,7 @@ services:
environment:
- LIMITER=true
- SEARXNG_BASE_URL=https://search.${DOMAIN}/
- SEARXNG_REDIS_URL=redis://tasks.redis_valkey:6379/0
- SEARXNG_VALKEY_URL=redis://searxng_redis_valkey:6379/0
- SEARXNG_SECRET=${SEARXNG_SECRET:-ultrasecretkey}
- SEARXNG_LIMITER=true
# - SEARXNG_USE_DEFAULT_SETTINGS=true