Compare commits

..

No commits in common. "28e72fa46591ec840ae1b35cb5f775ff83328ccb" and "8e107a0ce686a9171958319370d4881a50cc34a7" have entirely different histories.

3 changed files with 19 additions and 11 deletions

View file

@ -125,7 +125,7 @@ users:
mailserver: 8 mailserver: 8
postgres: 70 postgres: 70
searxng: 977 searxng: 977
searxng_valkey: 999 searxng_redis: 999
stump: 1005 stump: 1005
synapse: 991 synapse: 991
syncthing: 1001 syncthing: 1001

View file

@ -4,19 +4,22 @@ general:
instance_name: "SearXNG" instance_name: "SearXNG"
search: search:
# Existing autocomplete backends: "dbpedia", "duckduckgo", "google", "yandex", "mwmbl",
# "seznam", "startpage", "swisscows", "qwant", "wikipedia" - leave blank to turn it off
# by default.
autocomplete: "google" autocomplete: "google"
server: server:
limiter: true limiter: true
image_proxy: true image_proxy: true
redis:
url: redis://searxng-valkey:6379/0
ui: ui:
static_use_hash: true static_use_hash: true
query_in_title: true query_in_title: true
redis:
url: redis://searxng-redis:6379/0
enabled_plugins: enabled_plugins:
- 'Basic Calculator' - 'Basic Calculator'
- 'Hash plugin' - 'Hash plugin'

View file

@ -1,12 +1,12 @@
services: services:
valkey: redis:
container_name: searxng-valkey container_name: searxng-redis
image: docker.io/valkey/valkey:7-alpine image: docker.io/library/redis:alpine
restart: always restart: always
user: {{ users['searxng_valkey'] }}:{{ users['searxng_valkey'] }} user: {{ users['searxng_redis'] }}:{{ users['searxng_redis'] }}
command: valkey-server --save 30 1 --loglevel warning command: redis-server --save 30 1 --loglevel warning
volumes: volumes:
- valkey:/data - redis:/data
searxng: searxng:
container_name: searxng container_name: searxng
@ -20,6 +20,11 @@ services:
volumes: volumes:
- ./settings.yml:/etc/searxng/settings.yml - ./settings.yml:/etc/searxng/settings.yml
- ./limiter.toml:/etc/searxng/limiter.toml - ./limiter.toml:/etc/searxng/limiter.toml
logging:
driver: "json-file"
options:
max-size: "1m"
max-file: "1"
volumes: volumes:
valkey: redis: