[searxng] Replace redis by valkey
This commit is contained in:
parent
8e107a0ce6
commit
ee29b6a834
3 changed files with 9 additions and 14 deletions
2
env.yml
2
env.yml
|
@ -125,7 +125,7 @@ users:
|
||||||
mailserver: 8
|
mailserver: 8
|
||||||
postgres: 70
|
postgres: 70
|
||||||
searxng: 977
|
searxng: 977
|
||||||
searxng_redis: 999
|
searxng_valkey: 999
|
||||||
stump: 1005
|
stump: 1005
|
||||||
synapse: 991
|
synapse: 991
|
||||||
syncthing: 1001
|
syncthing: 1001
|
||||||
|
|
|
@ -18,7 +18,7 @@ ui:
|
||||||
query_in_title: true
|
query_in_title: true
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
url: redis://searxng-redis:6379/0
|
url: redis://searxng-valkey:6379/0
|
||||||
|
|
||||||
enabled_plugins:
|
enabled_plugins:
|
||||||
- 'Basic Calculator'
|
- 'Basic Calculator'
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
services:
|
services:
|
||||||
redis:
|
valkey:
|
||||||
container_name: searxng-redis
|
container_name: searxng-valkey
|
||||||
image: docker.io/library/redis:alpine
|
image: docker.io/valkey/valkey:7-alpine
|
||||||
restart: always
|
restart: always
|
||||||
user: {{ users['searxng_redis'] }}:{{ users['searxng_redis'] }}
|
user: {{ users['searxng_valkey'] }}:{{ users['searxng_valkey'] }}
|
||||||
command: redis-server --save 30 1 --loglevel warning
|
command: valkey-server --save 30 1 --loglevel warning
|
||||||
volumes:
|
volumes:
|
||||||
- redis:/data
|
- valkey:/data
|
||||||
|
|
||||||
searxng:
|
searxng:
|
||||||
container_name: searxng
|
container_name: searxng
|
||||||
|
@ -20,11 +20,6 @@ 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:
|
||||||
redis:
|
valkey:
|
||||||
|
|
Loading…
Reference in a new issue