Compare commits
2 commits
8e107a0ce6
...
28e72fa465
Author | SHA1 | Date | |
---|---|---|---|
28e72fa465 | |||
ee29b6a834 |
3 changed files with 11 additions and 19 deletions
2
env.yml
2
env.yml
|
@ -125,7 +125,7 @@ users:
|
|||
mailserver: 8
|
||||
postgres: 70
|
||||
searxng: 977
|
||||
searxng_redis: 999
|
||||
searxng_valkey: 999
|
||||
stump: 1005
|
||||
synapse: 991
|
||||
syncthing: 1001
|
||||
|
|
|
@ -4,22 +4,19 @@ general:
|
|||
instance_name: "SearXNG"
|
||||
|
||||
search:
|
||||
# Existing autocomplete backends: "dbpedia", "duckduckgo", "google", "yandex", "mwmbl",
|
||||
# "seznam", "startpage", "swisscows", "qwant", "wikipedia" - leave blank to turn it off
|
||||
# by default.
|
||||
autocomplete: "google"
|
||||
|
||||
server:
|
||||
limiter: true
|
||||
image_proxy: true
|
||||
|
||||
redis:
|
||||
url: redis://searxng-valkey:6379/0
|
||||
|
||||
ui:
|
||||
static_use_hash: true
|
||||
query_in_title: true
|
||||
|
||||
redis:
|
||||
url: redis://searxng-redis:6379/0
|
||||
|
||||
enabled_plugins:
|
||||
- 'Basic Calculator'
|
||||
- 'Hash plugin'
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
services:
|
||||
redis:
|
||||
container_name: searxng-redis
|
||||
image: docker.io/library/redis:alpine
|
||||
valkey:
|
||||
container_name: searxng-valkey
|
||||
image: docker.io/valkey/valkey:7-alpine
|
||||
restart: always
|
||||
user: {{ users['searxng_redis'] }}:{{ users['searxng_redis'] }}
|
||||
command: redis-server --save 30 1 --loglevel warning
|
||||
user: {{ users['searxng_valkey'] }}:{{ users['searxng_valkey'] }}
|
||||
command: valkey-server --save 30 1 --loglevel warning
|
||||
volumes:
|
||||
- redis:/data
|
||||
- valkey:/data
|
||||
|
||||
searxng:
|
||||
container_name: searxng
|
||||
|
@ -20,11 +20,6 @@ services:
|
|||
volumes:
|
||||
- ./settings.yml:/etc/searxng/settings.yml
|
||||
- ./limiter.toml:/etc/searxng/limiter.toml
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "1m"
|
||||
max-file: "1"
|
||||
|
||||
volumes:
|
||||
redis:
|
||||
valkey:
|
||||
|
|
Loading…
Reference in a new issue