How Can I Change the Git Fork The Docker Pulls From #72
Replies: 2 comments
-
I am also try to figure that out as well. Any help would be appreciated. |
Beta Was this translation helpful? Give feedback.
-
Okay, I figured it out. First, you need to get a fork of the original searxng/searxng and a fork of searxng/searxng-docker Then make your changes to the fork of searxng/searxng. In my case, I just wanted to change the logo images. Any changes to the application must be done in the original fork not the docker one as it is read only. Next you clone the forked/altered searxng/searxng repository to your machine. Then you build an image of it (you must have docker installed on your machine) Docker creates read only versions of the application that run in containers. Then you need to upload your docker image to your online registry with docker hub. You need an account. Then you make changes to your fork of of searxng/searxng-docker/docker-compose.yaml You have to point the yaml file to your docker hub registry and image version. You change code in the searxng section. You change line 38 and 39 of that file to : Then use your fork to complete the installation to linode or wherever you are installing it and it will work. The commands to perform the build of the image and push to your registry are : build the image: rename the image: push to your docker registry: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to find a way to change the fork of SearXNG that the docker version pulls from. Which file and where can I change this?
Beta Was this translation helpful? Give feedback.
All reactions