this post was submitted on 25 Jan 2025
27 points (100.0% liked)
Firefox
20333 readers
52 users here now
/c/firefox
A place to discuss the news and latest developments on the open-source browser Firefox.
Rules
1. Adhere to the instance rules
2. Be kind to one another
3. Communicate in a civil manner
Reporting
If you would like to bring an issue to the moderators attention, please use the "Create Report" feature on the offending comment or post and it will be reviewed as time allows.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
You're a legend. Changing
SEARXNG_HOSTNAME
in my.env
file solved it.nice. (but, i assume you actually mean
SEARXNG_URL
? either that or you're deploying it under some environment other than one described in the official repo, because the stringHOSTNAME
does not appear anywhere in the searxng repo.)The file in question can be found here
I see. What a mess.
The instructions at https://docs.searxng.org/admin/installation-docker.html mention that the docker image (which that page tells you to just pull and run) has its "sources hosted at" https://github.com/searxng/searxng-docker and has instructions for running it the image without docker-compose.
But, the
Dockerfile
source for the image is actually in the main repo at https://github.com/searxng/searxng/blob/master/Dockerfile and thesearxng-docker
repo actually contains adocker-compose.yaml
and different instructions for running it under compose instead.Anyway, in the
docker-compose
deployment,SEARXNG_BASE_URL
(yet another name for this... neitherSEARXNG_URL
orBASE_URL
, but apparently it setsbase_url
from it) is constructed fromSEARXNG_HOSTNAME
on line 58 here: https://github.com/searxng/searxng-docker/blob/a899b72a507074d8618d32d82f5355e23ecbe477/docker-compose.yaml#L58If I had a github account associated with this pseudonym I might open an issue or PR about this, but I don't and it isn't easy to make one anymore 😢