[GH-ISSUE #302] [QUESTION] whoogle.env on Synology #208

Closed
opened 2026-02-25 20:35:10 +03:00 by kerem · 2 comments
Owner

Originally created by @Chris122AT on GitHub (May 1, 2021).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/302

Hi there,

how can I use the file whoogle.env persistant on a Synology NAS?

I tried to set -v [volumeX/path_to/]whoogle.env:/whoogle.env and set -e WHOOGLE_DOTENV=1.
So the file should be mounted. But after docker start whoogle it doesn't affects whoogle's configuration.

Thank you for your help!

Chris

Originally created by @Chris122AT on GitHub (May 1, 2021). Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/302 Hi there, how can I use the file whoogle.env persistant on a Synology NAS? I tried to set -v [volumeX/path_to/]whoogle.env:/whoogle.env and set -e WHOOGLE_DOTENV=1. So the file should be mounted. But after _docker start whoogle_ it doesn't affects whoogle's configuration. Thank you for your help! Chris
kerem 2026-02-25 20:35:10 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@benbusby commented on GitHub (May 3, 2021):

It's probably better to just use --env-file ./whoogle.env (or -e ./whoogle.env) to load the whoogle.env file.

That should work better than mounting directly, but let me know if you are still encountering any problems with that approach!

<!-- gh-comment-id:831439722 --> @benbusby commented on GitHub (May 3, 2021): It's probably better to just use [`--env-file ./whoogle.env`](https://docs.docker.com/engine/reference/commandline/run/#set-environment-variables--e---env---env-file) (or `-e ./whoogle.env`) to load the `whoogle.env` file. That should work better than mounting directly, but let me know if you are still encountering any problems with that approach!
Author
Owner

@Chris122AT commented on GitHub (May 5, 2021):

@benbusby

Hello Ben,

I edited the whoogle.env in the container and as long as the container is running everything is fine. The problem is that after each update (by Watchtower) the whoogle.env is overwritten from the new image. That's why I would take the whoogle.env persistent to the Synology DSM file system.

I have never had any problems with the mounting of docker containers. In principle, I can not understand why the mount does not work.

Thank you for your efforts!

Chris

<!-- gh-comment-id:832894492 --> @Chris122AT commented on GitHub (May 5, 2021): @benbusby Hello Ben, I edited the whoogle.env in the container and as long as the container is running everything is fine. The problem is that after each update (by Watchtower) the whoogle.env is overwritten from the new image. That's why I would take the whoogle.env persistent to the Synology DSM file system. I have never had any problems with the mounting of docker containers. In principle, I can not understand why the mount does not work. Thank you for your efforts! Chris
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/whoogle-search#208
No description provided.