searxng / searxng-docker

The docker-compose files for setting up a SearXNG instance with docker.
GNU Affero General Public License v3.0
1.01k stars 247 forks source link

Save preferences points to http://localhost:8080 instead of http://myhost:8080 #164

Closed ToontjeM closed 11 months ago

ToontjeM commented 1 year ago

Running searxng-docker Powered by SearXNG 2023.7.1+5720844f

How did you install SearXNG? docker run -d -p ${PORT}:8080 -v "${PWD}/searxng:/etc/searxng" -e "BASE_URL=http://yellow:$PORT/" -e "INSTANCE_NAME=mysearch" --restart unless-stopped searxng/searxng No docker-compose.

What happened? Access SearX web interface, open Preferences, Save preferences. URL bar shows http://localhost:8080 instead of http://yellow:8080

Expected behavior URL should be http://yellow:8080

Additional context base_url in settings.yml is set to http://localhost:8080 instead of http://yellow:8080. Cannot edit this file.

BTW, i notice that instance name is also no honored.

return42 commented 11 months ago

Cannot edit this file.

see https://github.com/searxng/searxng-docker#how-to-use-it