From 619d04e0c84bffa5f97d6a60877ffb795995777e Mon Sep 17 00:00:00 2001 From: ange Date: Mon, 1 Jul 2024 17:24:07 +0200 Subject: [PATCH] fix: remove unused regcred --- .env | 2 +- config/uwsgi.ini | 54 +++++++++++++++++++++++++++++++++++++++ manifests/common/app.yaml | 2 -- 3 files changed, 55 insertions(+), 3 deletions(-) create mode 100644 config/uwsgi.ini diff --git a/.env b/.env index 2ce90b9..8528d84 100644 --- a/.env +++ b/.env @@ -1,2 +1,2 @@ PROD_URL=searx.gmoker.com -IMAGEAPP=docker.io/searxng/searxng:2024.6.17-accc1c103 +IMAGEAPP=docker.io/searxng/searxng:2024.6.30-39aaac40d diff --git a/config/uwsgi.ini b/config/uwsgi.ini new file mode 100644 index 0000000..9db3d76 --- /dev/null +++ b/config/uwsgi.ini @@ -0,0 +1,54 @@ +[uwsgi] +# Who will run the code +uid = searxng +gid = searxng + +# Number of workers (usually CPU count) +# default value: %k (= number of CPU core, see Dockerfile) +workers = %k + +# Number of threads per worker +# default value: 4 (see Dockerfile) +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 + +# Follow SIGTERM convention +# See https://github.com/searxng/searxng/issues/3427 +die-on-term + +# 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 diff --git a/manifests/common/app.yaml b/manifests/common/app.yaml index bc8fd3f..5542b23 100644 --- a/manifests/common/app.yaml +++ b/manifests/common/app.yaml @@ -58,8 +58,6 @@ spec: labels: app: app spec: - imagePullSecrets: - - name: regcred containers: - name: app image: "$IMAGEAPP"