Revamp searxng config, implementing use_default_settings option and adding hostname plugin config

This commit is contained in:
Mike Wilson
2026-08-12 11:39:16 -04:00
parent 431da5cc03
commit b14930cb19
4 changed files with 35 additions and 1880 deletions
@@ -0,0 +1 @@
'(.*\.)?pinterest.com$'
+8
View File
@@ -23,6 +23,14 @@
become: true become: true
notify: restart searxng notify: restart searxng
- name: Copy hostname lists to destination
copy:
src: hostnames/
dest: "{{ data_dir }}/{{ role_name }}/"
owner: "{{ docker_user }}"
become: true
notify: restart searxng
- name: Start docker container - name: Start docker container
community.docker.docker_compose_v2: community.docker.docker_compose_v2:
project_src: "{{ install_directory }}/{{ role_name }}" project_src: "{{ install_directory }}/{{ role_name }}"
@@ -6,10 +6,11 @@ networks:
services: services:
searxng: searxng:
container_name: searxng container_name: searxng
image: searxng/searxng image: ghcr.io/searxng/searxng
restart: unless-stopped restart: unless-stopped
networks: networks:
- traefik - traefik
- default
volumes: volumes:
- "{{ data_dir }}/{{ role_name }}:/etc/searxng" - "{{ data_dir }}/{{ role_name }}:/etc/searxng"
cap_drop: cap_drop:
@@ -21,7 +22,7 @@ services:
labels: labels:
traefik.enable: true traefik.enable: true
traefik.http.routers.searxng.rule: "Host(`search.{{ personal_domain }}`)" traefik.http.routers.searxng.rule: "Host(`search.{{ personal_domain }}`)"
#traefik.http.routers.searxng.middlewares: lan-whitelist@file traefik.http.routers.searxng.middlewares: lan-whitelist@file
redis: redis:
image: redis:alpine image: redis:alpine
File diff suppressed because it is too large Load Diff