1
0
Files
docker-compose/obsidian-logic/searx/searx.yml
2025-07-20 23:20:47 -04:00

61 lines
1.1 KiB
YAML

---
# SearXNG
# Privacy Focused Search Engine
# Created by Searxng
# ↳ https://github.com/searxng/searxng
services:
searxng-server:
image: docker.io/searxng/searxng:latest
container_name: searxng
restart: unless-stopped
networks:
- search
# ports:
# - 8080:8080
environment:
PUID: 1000
PGID: 1000
volumes:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
- /home/fxequals/docker/searxng/search:/etc/searxng:rw
searxng-redis:
image: docker.io/valkey/valkey:8-alpine
container_name: redis
restart: unless-stopped
command: valkey-server --save 30 1 --loglevel warning
networks:
- search
environment:
PUID: 1000
PGID: 1000
volumes:
- /home/fxequals/docker/searsng/redis:/data
cap_drop:
- ALL
cap_add:
- SETGID
- SETUID
- DAC_OVERRIDE
logging:
driver: "json-file"
options:
max-size: "1m"
max-file: "1"
networks:
search:
external: true
# Documentation available at https://docs.searxng.org/