diff --git a/SearXNG/docker-compose-bind.yaml b/SearXNG/docker-compose-bind.yaml new file mode 100644 index 0000000..3c76b68 --- /dev/null +++ b/SearXNG/docker-compose-bind.yaml @@ -0,0 +1,20 @@ +services: + app: + container_name: searxng + image: searxng/searxng:${SEARXNG_VERSION:-latest} + volumes: + - /home/${SEARXNG_USERNAME:-searxng}/searxng/config:/etc/searxng:rw + - /home/${SEARXNG_USERNAME:-searxng}/searxng/cache:/var/cache/searxng + ports: + - ${SEARXNG_PORT:-8080}:8080 + deploy: + resources: + limits: + memory: 512m + healthcheck: + test: ["CMD", "wget", "-q", "--spider", "--proxy=off", "http://localhost:8080/healthz"] + interval: 30s + timeout: 10s + retries: 3 + start_period: 30s + restart: unless-stopped \ No newline at end of file