docker/searxng/compose.yaml
2023-10-27 14:42:23 +02:00

47 lines
833 B
YAML

---
services:
install_site:
build: install_site
environment:
- BASE_URL
- EMAIL
volumes:
- ./nginx.conf:/web/searxng.conf
- sites:/sites/
- certs:/etc/letsencrypt/
- certbotroot:/var/www/certbot/
- /var/run/docker.sock:/var/run/docker.sock
redis:
image: docker.io/redis:latest
restart: unless-stopped
volumes:
- redis:/data/
searxng:
image: docker.io/searxng/searxng:latest
restart: unless-stopped
volumes:
- ./config/:/etc/searxng/
environment:
- SEARXNG_SECRET
- SEARXNG_REDIS_URL=redis://redis
networks:
- default
- nginx
depends_on:
- redis
volumes:
redis:
sites:
external: true
certs:
external: true
certbotroot:
external: true
networks:
nginx:
external: true