Patch SearXNG DOI resolver config
All checks were successful
Container Image / build-and-push (push) Successful in 41s

This commit is contained in:
MrSphay
2026-06-05 14:49:51 +02:00
parent d3f84b4f85
commit 9c7b365668
6 changed files with 17 additions and 0 deletions

View File

@@ -127,6 +127,9 @@ services:
fi
sed "s|__SEARXNG_SECRET__|$$secret|g" /tmp/searxng-settings.yml.template > /etc/searxng/settings.yml
fi
if ! grep -q '^default_doi_resolver:' /etc/searxng/settings.yml; then
printf '\ndefault_doi_resolver: "oadoi.org"\n' >> /etc/searxng/settings.yml
fi
exec /usr/local/searxng/entrypoint.sh
ports:
- "127.0.0.1:8080:8080"