mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2025-12-10 05:42:36 +00:00
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>
5 lines
236 B
Python
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')}"
|