Files
HomeLAB/Docker/searxng/docker-compose.yaml
2025-04-14 08:48:54 +02:00

56 lines
1.0 KiB
YAML

---
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: unless-stopped
networks:
- searxng
ports:
- 8086:8080
volumes:
- ./searxng:/etc/searxng:rw
environment:
- SEARXNG_BASE_URL=https://searxng.vmnetz.lan64.de/
cap_drop:
- ALL
cap_add:
- CHOWN
- SETGID
- SETUID
logging:
driver: json-file
options:
max-size: 1m
max-file: "1"
labels:
- com.centurylinklabs.watchtower.enable=true
networks:
searxng: null
volumes:
valkey-data2: