fix: update SearXNG configuration for Redis URL and add base URL
This commit is contained in:
+3
-1
@@ -14,6 +14,8 @@ services:
|
|||||||
redis_valkey:
|
redis_valkey:
|
||||||
image: docker.io/valkey/valkey:7-alpine
|
image: docker.io/valkey/valkey:7-alpine
|
||||||
command: valkey-server --save 30 1 --loglevel warning
|
command: valkey-server --save 30 1 --loglevel warning
|
||||||
|
sysctls:
|
||||||
|
- vm.overcommit_memory=1
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
cap_drop:
|
cap_drop:
|
||||||
- ALL
|
- ALL
|
||||||
@@ -41,7 +43,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- LIMITER=true
|
- LIMITER=true
|
||||||
- SEARXNG_BASE_URL=https://search.${DOMAIN}/
|
- 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_SECRET=${SEARXNG_SECRET:-ultrasecretkey}
|
||||||
- SEARXNG_LIMITER=true
|
- SEARXNG_LIMITER=true
|
||||||
# - SEARXNG_USE_DEFAULT_SETTINGS=true
|
# - SEARXNG_USE_DEFAULT_SETTINGS=true
|
||||||
|
|||||||
@@ -1,14 +1,27 @@
|
|||||||
# see https://docs.searxng.org/admin/settings/settings.html#settings-use-default-settings
|
# see https://docs.searxng.org/admin/settings/settings.html#settings-use-default-settings
|
||||||
use_default_settings: true
|
use_default_settings: true
|
||||||
|
|
||||||
|
general:
|
||||||
|
debug: false
|
||||||
|
instance_name: "SearXNG"
|
||||||
|
|
||||||
|
search:
|
||||||
|
safe_search: 2
|
||||||
|
autocomplete: 'duckduckgo'
|
||||||
|
formats:
|
||||||
|
- html
|
||||||
|
- json
|
||||||
|
|
||||||
server:
|
server:
|
||||||
# base_url is defined in the SEARXNG_BASE_URL environment variable, see .env and docker-compose.yml
|
# base_url is defined in the SEARXNG_BASE_URL environment variable, see .env and docker-compose.yml
|
||||||
secret_key: "ultrasecretkey" # change this!
|
secret_key: "ultrasecretkey" # change this!
|
||||||
limiter: true # can be disabled for a private instance
|
limiter: true # can be disabled for a private instance
|
||||||
image_proxy: true
|
image_proxy: true
|
||||||
|
base_url: http://search.furyhawk.lol
|
||||||
ui:
|
ui:
|
||||||
static_use_hash: true
|
static_use_hash: true
|
||||||
redis:
|
valkey:
|
||||||
url: redis://tasks.redis_valkey:6379/0
|
url: redis://searxng_redis_valkey:6379/0
|
||||||
search:
|
search:
|
||||||
# remove format to deny access, use lower case.
|
# remove format to deny access, use lower case.
|
||||||
# formats: [html, csv, json, rss]
|
# formats: [html, csv, json, rss]
|
||||||
|
|||||||
Reference in New Issue
Block a user