open-semantic-search
open-semantic-search copied to clipboard
Blacklist and Whitelist with Docker?
I installed OSS using Docker and don't see a way to edit the blacklist or whitelist. Not sure if I am missing something or if this functionality doesn't exist yet. Any guidance would be greatly appreciated.
Wanted to circle back to this in case others are looking for this answer as well.
I ended up doing the following:
- Mount the blacklist directory to the host like so:
apps:
etl:
volumes:
- ./blacklist:/etc/opensemanticsearch/blacklist
-
Then I copied the files from located here in the repo: /etc/opensemanticsearch/blacklist to the new blacklist directory
-
I changed ownership to www-data
chown -R www-data:www-data blacklist/.
You will likely have to run that command as sudo and ensure the path to the blacklist directory is correct.
- Lastly, I ensured that all files were readable by user, group, and everyone.
chmod -R a+r blacklist/.
This seems to be working so far. I will report back if I discover an issue with this approach.