Skip to content

Commit

Permalink
fix(searxng): back to latest version, fix config file mountpath
Browse files Browse the repository at this point in the history
  • Loading branch information
JJGadgets committed Apr 28, 2024
1 parent 6a9d596 commit 2ffd769
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions kube/deploy/apps/searxng/app/hr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,10 @@ spec:
main:
image: &img
repository: "docker.io/searxng/searxng"
tag: "2023.7.22-65d8b1a31"
tag: "latest@sha256:61c2684c4579c1849888c38ebb0d02ea0eac3fde1f2a0aa85ba685294a419910"
command: ["uwsgi", "--master", "--http-socket", "0.0.0.0:8080", "/usr/local/searxng/dockerfiles/uwsgi.ini"]
env:
TZ: "${CONFIG_TZ}"
SEARXNG_BASE_URL: "https://{APP_DNS_SEARXNG}/"
SEARXNG_URL: "https://{APP_DNS_SEARXNG}"
SEARXNG_PORT: &http "8080"
SEARXNG_REDIS_URL: "unix:///etc/searxng/redis.sock?db=0"
envFrom:
- secretRef:
name: "searxng-secrets"
Expand Down Expand Up @@ -68,7 +64,7 @@ spec:
main:
ports:
http:
port: *http
port: 8080
ingress:
main:
enabled: true
Expand Down Expand Up @@ -99,6 +95,9 @@ spec:
- subPath: "settings.yml"
path: "/etc/searxng/settings.yml"
readOnly: true
- subPath: "settings.yml"
path: "/usr/local/searxng/searx/settings.yml"
readOnly: true
tmp:
enabled: true
type: emptyDir
Expand Down Expand Up @@ -220,6 +219,8 @@ spec:
default_lang: "en"
max_page: 0
server:
bind_address: "0.0.0.0"
port: 8080
base_url: "https://${APP_DNS_SEARXNG}/"
image_proxy: true
http_protocol_version: "1.1"
Expand Down Expand Up @@ -248,6 +249,8 @@ spec:
'(.*\.)?youtu\.be$': '${APP_DNS_PIPED_FRONTEND}'
'(.*\.)?reddit\.com$': '${APP_DNS_LIBREDDIT}'
'(.*\.)?redd\.it$': '${APP_DNS_LIBREDDIT}'
redis:
url: "unix:///etc/searxng/redis.sock?db=0"
# NOTE: Search engines disabled:
# - archive.is (too many requests)
defaultPodOptions:
Expand Down

0 comments on commit 2ffd769

Please sign in to comment.