mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2025-12-10 13:52:38 +00:00
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')}"
|