--- 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 volumes: - ./config/:/etc/searxng/ environment: - SEARXNG_SECRET - SEARXNG_REDIS_URL=redis://redis networks: - default - nginx depends_on: - redis volumes: sites: external: true certs: external: true certbotroot: external: true networks: nginx: external: true