docker/searxng/compose.yaml
2023-09-18 11:36:11 +02:00

46 lines
747 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:
searxng:
build: .
restart: unless-stopped
volumes:
- config:/etc/searxng/
environment:
- REDIS_HOST=redis
networks:
- nginx
depends_on:
- redis
volumes:
redis:
config:
sites:
external: true
certs:
external: true
certbotroot:
external: true
networks:
nginx:
external: true