Features: 1) Add REDIS_URL configuration with dynamic password support;
Fixes: 1) None; Extra: 1) None;
This commit is contained in:
parent
fbfc432dfd
commit
d73215ca3a
1 changed files with 1 additions and 0 deletions
|
|
@ -273,6 +273,7 @@ APPEND_SLASH: bool = True
|
||||||
ROOT_HOSTCONF: str = "evibes.hosts"
|
ROOT_HOSTCONF: str = "evibes.hosts"
|
||||||
DEFAULT_HOST: str = "api"
|
DEFAULT_HOST: str = "api"
|
||||||
REDIS_PASSWORD: str = getenv("REDIS_PASSWORD", default="")
|
REDIS_PASSWORD: str = getenv("REDIS_PASSWORD", default="")
|
||||||
|
REDIS_URL: str = f"redis://:{REDIS_PASSWORD}@redis:6379/0"
|
||||||
|
|
||||||
INTERNAL_IPS: list[str] = [
|
INTERNAL_IPS: list[str] = [
|
||||||
"127.0.0.1",
|
"127.0.0.1",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue