diff options
author | Alexandre Flament <alex@al-f.net> | 2021-05-09 11:00:28 +0200 |
---|---|---|
committer | Alexandre Flament <alex@al-f.net> | 2021-05-09 11:00:28 +0200 |
commit | b46a3ecfc721731657c660eef8d8c01fe9ebdb7a (patch) | |
tree | 1513648d8f602e873c4ce1a819df591ed3b0e4d2 /dockerfiles | |
parent | 332e3a2a09d6a708ea2c17d2e731335b051c45aa (diff) | |
download | searxng-b46a3ecfc721731657c660eef8d8c01fe9ebdb7a.tar.gz searxng-b46a3ecfc721731657c660eef8d8c01fe9ebdb7a.zip |
[fix] fix usage of docker environment variable INSTANCE_NAME
INSTANCE_NAME was ignored.
close #65
Diffstat (limited to 'dockerfiles')
-rwxr-xr-x | dockerfiles/docker-entrypoint.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dockerfiles/docker-entrypoint.sh b/dockerfiles/docker-entrypoint.sh index 6592b1c70..1d8edad13 100755 --- a/dockerfiles/docker-entrypoint.sh +++ b/dockerfiles/docker-entrypoint.sh @@ -68,7 +68,7 @@ patch_searx_settings() { # update settings.yml sed -i -e "s|base_url : False|base_url : ${BASE_URL}|g" \ - -e "s/instance_name : \"searx\"/instance_name : \"${INSTANCE_NAME}\"/g" \ + -e "s/instance_name : \"searxng\"/instance_name : \"${INSTANCE_NAME}\"/g" \ -e "s/autocomplete : \"\"/autocomplete : \"${AUTOCOMPLETE}\"/g" \ -e "s/ultrasecretkey/$(openssl rand -hex 32)/g" \ "${CONF}" |