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

35 lines
595 B
Django/Jinja

---
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"