Files
hermes-recovery/docker/searxng/docker-compose.yml
T

27 lines
605 B
YAML

version: '3.8'
services:
searxng:
image: searxng/searxng:latest
container_name: searxng
restart: always
ports:
- "127.0.0.1:8888:8080"
volumes:
- ./searxng-data:/etc/searxng:rw
- ./searxng-themes:/usr/local/searxng/searx/static/themes:rw
environment:
- SEARXNG_BASE_URL=http://localhost:8080
- SEARXNG_SECRET_KEY=${SEARXNG_SECRET_KEY:-changeme}
cap_drop:
- ALL
cap_add:
- CHOWN
- SETGID
- SETUID
- DAC_OVERRIDE
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"