SearXNG

SearXNG 是一个免费的互联网元搜索引擎,它汇总了来自70多个搜索服务的结果。用户既不被追踪也不被建立个人档案。

github: https://github.com/searxng/searxng

docker-compose

version: "3.7"

services:
  searxng:
    container_name: searxng
    image: docker.io/searxng/searxng:latest
    ports:
      - "3003:8080"
    volumes:
      - /home/username/searxng/data:/etc/searxng:rw
    environment:
      - SEARXNG_BASE_URL=http://YOUR_HOST:3003/
    cap_drop:
      - ALL
    cap_add:
      - CHOWN
      - SETGID
      - SETUID
    logging:
      driver: "json-file"
      options:
        max-size: "1m"
        max-file: "1"

proxies

如何需要通过代理访问Internet,则需要设定代理服务器。
要设定代理,需要将container启动一次,以便生成设定文件:settings.yml 。
在settings.yml中搜索如下配置:

  proxies:
    all://:
      - http://PROXY_IP:PORT

删除每行前的“#",然后将PROXY_IP和PORT修改为自己的代理地址。

效果

访问 http://YOUR_HOST:3003/ 即可开始搜索。
在这里插入图片描述

Enjoy

Logo

有“AI”的1024 = 2048,欢迎大家加入2048 AI社区

更多推荐