ansible/roles/searxng/templates/docker-compose.yml.j2

35 lines
595 B
Plaintext
Raw Normal View History

2024-11-14 18:24:43 +01:00
---
version: "3.4"
services:
redis:
image: redis:alpine
tmpfs:
- /var/lib/redis
cap_drop:
- ALL
cap_add:
- SETGID
- SETUID
- DAC_OVERRIDE
searxng:
image: searxng/searxng:latest
ports:
- "127.0.0.1:8000:8080"
volumes:
- ./searxng:/etc/searxng:rw
environment:
- SEARXNG_BASE_URL=https://{{ searxng_domain }}/
cap_drop:
- ALL
cap_add:
- CHOWN
- SETGID
- SETUID
- DAC_OVERRIDE
logging:
driver: "json-file"
options:
max-size: "1m"
max-file: "1"