update searxng

This commit is contained in:
JMARyA 2024-07-22 08:59:50 +02:00
parent a04152d981
commit 0e3202fdf2
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263

View file

@ -2478,4 +2478,44 @@ default_doi_resolver: 'oadoi.org'
```
## Docker-Compose
#wip
```yml
version: '3.7'
services:
redis:
container_name: redis
image: "redis:alpine"
command: redis-server --save "" --appendonly "no"
tmpfs:
- /var/lib/redis
cap_drop:
- ALL
cap_add:
- SETGID
- SETUID
- DAC_OVERRIDE
restart: unless-stopped
searxng:
container_name: searxng
image: searxng/searxng:latest
ports:
- "8042:8080"
volumes:
- ./data:/etc/searxng:rw
environment:
- SEARXNG_BASE_URL=https://search.hydrar.de/
cap_drop:
- ALL
cap_add:
- CHOWN
- SETGID
- SETUID
- DAC_OVERRIDE
logging:
driver: "json-file"
options:
max-size: "1m"
max-file: "1"
restart: unless-stopped
```