2025.04.14-08:40
This commit is contained in:
@ -1,18 +1,38 @@
|
||||
---
|
||||
version: "3.8"
|
||||
services:
|
||||
redis:
|
||||
image: docker.io/valkey/valkey:8-alpine
|
||||
container_name: redis
|
||||
command: valkey-server --save 30 1 --loglevel warning
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- searxng
|
||||
volumes:
|
||||
- valkey-data2:/data
|
||||
cap_drop:
|
||||
- ALL
|
||||
cap_add:
|
||||
- SETGID
|
||||
- SETUID
|
||||
- DAC_OVERRIDE
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "1m"
|
||||
max-file: "1"
|
||||
|
||||
searxng:
|
||||
image: searxng/searxng:latest
|
||||
container_name: searxng
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- searxng
|
||||
ports:
|
||||
- 0.0.0.0:8086:8080
|
||||
- 8086:8080
|
||||
volumes:
|
||||
- ./searxng:/etc/searxng:rw
|
||||
environment:
|
||||
#- SEARXNG_BASE_URL=https://${SEARXNG_HOSTNAME:-localhost}/
|
||||
- SEARXNG_BASE_URL=https://searxng.vmnetz.lan64.de/
|
||||
cap_drop:
|
||||
- ALL
|
||||
@ -27,3 +47,9 @@ services:
|
||||
max-file: "1"
|
||||
labels:
|
||||
- com.centurylinklabs.watchtower.enable=true
|
||||
|
||||
networks:
|
||||
searxng: null
|
||||
|
||||
volumes:
|
||||
valkey-data2:
|
||||
|
Reference in New Issue
Block a user