netbox-docker/local_settings.py
Georg Pfuetzenreuter ff467efbe3
Handle plugins + add healtcheck plugin
Support the installation of plugins, and add the healthcheck plugin,
which we use for status reports to the reverse proxy servers, as a first
one.

Signed-off-by: Georg Pfuetzenreuter <georg.pfuetzenreuter@suse.com>
2025-01-10 10:33:47 +01:00

5 lines
236 B
Python

from os import environ
from urllib.parse import quote
REDIS_URL = f"redis://:{quote(environ.get('REDIS_PASSWORD', ''))}@{environ.get('REDIS_HOST', 'localhost')}:{environ.get('REDIS_PORT', '6379')}/{environ.get('REDIS_DATABASE', '1')}"