add searxng

This commit is contained in:
rebelonion 2025-07-10 08:44:25 -05:00
parent d64898107d
commit 8a62281f1f

View file

@ -0,0 +1,37 @@
services:
redis:
container_name: searxng-redis
image: docker.io/valkey/valkey:8-alpine
command: valkey-server --save 30 1 --loglevel warning
restart: unless-stopped
networks:
- searxng
volumes:
- /home/docker/searxng/valkey-data2:/data
logging:
driver: "json-file"
options:
max-size: "1m"
max-file: "1"
searxng:
container_name: searxng
image: docker.io/searxng/searxng:latest
restart: unless-stopped
networks:
- searxng
ports:
- "8082:8080"
volumes:
- /home/docker/searxng/searxng:/etc/searxng:rw
- /home/docker/searxng/searxng-data:/var/cache/searxng:rw
environment:
- SEARXNG_BASE_URL=https://${SEARXNG_HOSTNAME:-localhost}/
logging:
driver: "json-file"
options:
max-size: "1m"
max-file: "1"
networks:
searxng: