47 lines
888 B
YAML
47 lines
888 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
|
|
tmpfs:
|
|
- /data/
|
|
|
|
searxng:
|
|
image: docker.io/searxng/searxng:latest
|
|
restart: unless-stopped
|
|
environment:
|
|
- SEARXNG_SECRET
|
|
- SEARXNG_REDIS_URL=redis://redis
|
|
volumes:
|
|
- ./limiter.toml:/etc/searxng/limiter.toml:ro
|
|
- ./settings.yml:/etc/searxng/settings.yml:ro
|
|
networks:
|
|
- default
|
|
- nginx
|
|
depends_on:
|
|
- redis
|
|
|
|
volumes:
|
|
sites:
|
|
external: true
|
|
certs:
|
|
external: true
|
|
certbotroot:
|
|
external: true
|
|
|
|
networks:
|
|
nginx:
|
|
external: true
|