Issue with .env File Not Updating settings.yml in Docker #348
Unanswered
megvadulthangya
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Guys!!
I'm encountering an issue with the SearxNG Docker setup where changes made to the .env file are not reflected in the settings.yml file. Despite modifying the .env variables (such as SEARXNG_BASE_URL, SEARXNG_INSTANCE_NAME, etc.), the settings.yml does not get updated with the expected values.
Here are the details of the issue:
I modified the .env file to include custom values for various configuration parameters.
After running the Docker container, I expected the changes to be automatically applied to the settings.yml file.
However, the settings.yml remains unchanged and continues to use default values.
Steps to reproduce:
Modify the .env file in the SearxNG Docker setup.
Start the Docker container.
Check the settings.yml file for updates.
Expected behavior:
The values in the .env file should automatically update the corresponding entries in settings.yml when the container is started.
Actual behavior:
No updates are applied to settings.yml, and it retains the default configuration.
Additional context:
Docker version: [Insert your Docker version]
SearxNG Docker setup: [Insert the relevant commit or tag used]
Would appreciate any assistance or guidance on how to make the .env file correctly update the settings.yml file.
Im on dockge.... and i try with or without adding this to my docker compose
"env_file:
- .env"
searxng_docker_compose.txt
searxng_.env.txt
Beta Was this translation helpful? Give feedback.
All reactions