update searxng
This commit is contained in:
parent
a04152d981
commit
0e3202fdf2
1 changed files with 41 additions and 1 deletions
|
@ -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
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue