feat(searxng): added new role to install and configure searxng
This commit is contained in:
parent
768a8133b5
commit
63eab11b85
19 changed files with 923 additions and 0 deletions
|
@ -0,0 +1,35 @@
|
|||
# -*- mode: conf; coding: utf-8 -*-
|
||||
[uwsgi]
|
||||
uid = {{ searxng_user }}
|
||||
gid = {{ searxng_group }}
|
||||
master = True
|
||||
lazy-apps = true
|
||||
cheap = True
|
||||
idle = 600
|
||||
die-on-idle = False
|
||||
manage-script-name = True
|
||||
|
||||
env = LANG=C.UTF-8
|
||||
env = LANGUAGE=C.UTF-8
|
||||
env = LC_ALL=C.UTF-8
|
||||
env = SEARXNG_SETTINGS_PATH={{ searxng_install_dir }}/settings.yml
|
||||
|
||||
virtualenv = {{ searxng_install_dir }}/.venv
|
||||
pythonpath = {{ searxng_git_dir }}
|
||||
|
||||
chdir = {{ searxng_git_dir }}/searx
|
||||
disable-logging = true
|
||||
chmod-socket = 660
|
||||
single-interpreter = true
|
||||
enable-threads = true
|
||||
workers = %k
|
||||
threads = 4
|
||||
|
||||
static-map = /static={{ searxng_git_dir }}/searx/static
|
||||
static-gzip-all = True
|
||||
offload-threads = %k
|
||||
|
||||
socket = {{ searxng_uwsgi_socket_dir }}/searxng.socket
|
||||
buffer-size = 8192
|
||||
|
||||
module = searx.webapp
|
Loading…
Add table
Add a link
Reference in a new issue