SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.
Python bingbravedegoogleduckduckgogooglemetasearchprivacypythonqwantsearchsearch-enginesearxsearxngstartpageyahoo
:whale: Config for instance name and autocomplete
mathieu.brunot2485d41bdd59
diff --git a/Dockerfile b/Dockerfileindex fb4f2cb67..1815ddc57 100644--- a/Dockerfile+++ b/Dockerfile@@ -11,7 +11,9 @@ ARG TIMESTAMP_UWSGI=0ARG LABEL_VCS_REF=ARG LABEL_VCS_URL=-ENV BASE_URL= \+ENV INSTANCE_NAME=searx \+ AUTOCOMPLETE= \+ BASE_URL= \MORTY_KEY= \MORTY_URL=EXPOSE 8080diff --git a/dockerfiles/docker-entrypoint.sh b/dockerfiles/docker-entrypoint.shindex c731e0a89..8b4c34860 100755--- a/dockerfiles/docker-entrypoint.sh+++ b/dockerfiles/docker-entrypoint.sh@@ -29,6 +29,8 @@ doprintf " -f Always update on the configuration files (existing files are renamed with the .old suffix)\n"printf " Without this option, new configuration files are copied with the .new suffix\n"printf "\nEnvironment variables:\n\n"+ printf " INSTANCE_NAME settings.yml : general.instance_name\n"+ printf " AUTOCOMPLETE settings.yml : search.autocomplete\n"printf " BASE_URL settings.yml : server.base_url\n"printf " MORTY_URL settings.yml : result_proxy.url\n"printf " MORTY_KEY settings.yml : result_proxy.key\n"@@ -53,6 +55,8 @@ patch_searx_settings() {# update settings.ymlsed -i -e "s|base_url : False|base_url : ${BASE_URL}|g" \+ -e "s/instance_name : \"searx\"/instance_name : \"${INSTANCE_NAME}\"/g" \+ -e "s/autocomplete : \"\"/autocomplete : \"${AUTOCOMPLETE}\"/g" \-e "s/ultrasecretkey/$(openssl rand -hex 32)/g" \"${CONF}"