cbdc8f35a5
Gitea Branch PR & Ansible Deployment / Check and Create PR (push) Successful in 8m53s
Gitea Branch PR & Ansible Deployment / Docker Compose & Ansible Lints (push) Failing after 12m35s
Gitea Branch PR & Ansible Deployment / PR Merge (push) Successful in 31s
Gitea Branch PR & Ansible Deployment / Ansible Config Deployment (push) Failing after 19m9s
50 lines
1.0 KiB
Django/Jinja
50 lines
1.0 KiB
Django/Jinja
{% set vault_addr = 'https://vault.trez.wtf' %}
|
|
{% set secrets_path = 'rinoa-docker/env' %}
|
|
|
|
[uwsgi]
|
|
# Who will run the code
|
|
uid = searxng
|
|
gid = searxng
|
|
|
|
# Number of workers (usually CPU count)
|
|
workers = %k
|
|
threads = 4
|
|
|
|
# The right granted on the created socket
|
|
chmod-socket = 666
|
|
|
|
# Plugin to use and interpreter config
|
|
single-interpreter = true
|
|
master = true
|
|
plugin = python3
|
|
lazy-apps = true
|
|
enable-threads = 4
|
|
|
|
# Module to import
|
|
module = searx.webapp
|
|
|
|
# Virtualenv and python path
|
|
pythonpath = /usr/local/searxng/
|
|
chdir = /usr/local/searxng/searx/
|
|
|
|
# automatically set processes name to something meaningful
|
|
auto-procname = true
|
|
|
|
# Disable request logging for privacy
|
|
disable-logging = true
|
|
log-5xx = true
|
|
|
|
# Set the max size of a request (request-body excluded)
|
|
buffer-size = 8192
|
|
|
|
# No keep alive
|
|
# See https://github.com/searx/searx-docker/issues/24
|
|
add-header = Connection: close
|
|
|
|
# uwsgi serves the static files
|
|
static-map = /static=/usr/local/searxng/searx/static
|
|
# expires set to one day
|
|
static-expires = /* 86400
|
|
static-gzip-all = True
|
|
offload-threads = 4
|