mirror of
https://github.com/benbusby/whoogle-search.git
synced 2026-04-25 12:15:50 +03:00
[GH-ISSUE #83] [QUESTION] Configuration persisting between launches #59
Labels
No labels
Fixed (Pending PR Merge)
Stale
bug
enhancement
enhancement
good first issue
help wanted
keep-open
needs more info
pull-request
question
theme
unfortunate
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/whoogle-search#59
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @danielbyon on GitHub (May 29, 2020).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/83
I'm running Whoogle using docker-compose (:latest tag), and it doesn't seem like some settings are being persisted between container restarts. I keep having to set location and GET requests only. Is there a way to declare a config file and pass that into the container using
volume?@benbusby commented on GitHub (May 29, 2020):
The Dockerfile by default stores config settings in
/config, so you could modifydocker-compose.ymlto mount a host directory for persisting settings across reboots -- should look something like this:Which would create a
configdir wherever you're running docker-compose from. I've thought about adding this before, but was hesitant to enforce mounting a volume by default. I suppose I could just update it to something like:@danielbyon commented on GitHub (May 30, 2020):
That worked, thanks! I would recommend updating the README, or at least giving the structure of the
config.json. Persisting settings is something I would expect to be able to do, and it was confusing that my search domain was persisted, but other settings were not.