Revamp searxng config, implementing use_default_settings option and adding hostname plugin config
This commit is contained in:
@@ -0,0 +1 @@
|
||||
'(.*\.)?pinterest.com$'
|
||||
@@ -23,6 +23,14 @@
|
||||
become: true
|
||||
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
|
||||
community.docker.docker_compose_v2:
|
||||
project_src: "{{ install_directory }}/{{ role_name }}"
|
||||
|
||||
@@ -6,10 +6,11 @@ networks:
|
||||
services:
|
||||
searxng:
|
||||
container_name: searxng
|
||||
image: searxng/searxng
|
||||
image: ghcr.io/searxng/searxng
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- traefik
|
||||
- default
|
||||
volumes:
|
||||
- "{{ data_dir }}/{{ role_name }}:/etc/searxng"
|
||||
cap_drop:
|
||||
@@ -21,7 +22,7 @@ services:
|
||||
labels:
|
||||
traefik.enable: true
|
||||
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:
|
||||
image: redis:alpine
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user