purldb
purldb copied to clipboard
Add config options for Redis connection (TLS, username, DB)
This modification allows to establish a secure connection to an external Redis instance in scenarios where PurlDB is not deployed via docker compose. The current defaults are kept for compatibility reasons. This means by default no TLS is used, as is currently already the case, as a local deployment with docker compose assumed where all services are runing on the same host. Similar fixes have been made in DejaCode (https://github.com/aboutcode-org/dejacode/commit/1a4f7039d823fdddc05e22f0f61406f1f22f9077) and ScanCode.io (https://github.com/aboutcode-org/scancode.io/commit/f0750d4a9f93bd645dac9fa9ebe3dc0e0871f5bc).