added scalability and performance improvements (redis, http caching etc)
This commit is contained in:
@@ -65,6 +65,10 @@ class Settings(BaseSettings):
|
||||
moco_api_key: str = "" # Token für Authorization-Header
|
||||
moco_domain: str = "" # Subdomain: {domain}.mocoapp.com
|
||||
|
||||
# Redis
|
||||
redis_url: str = "redis://redis:6379/0"
|
||||
scheduler_enabled: bool = False # True only on dedicated scheduler container
|
||||
|
||||
model_config = SettingsConfigDict(
|
||||
env_file=".env",
|
||||
env_file_encoding="utf-8",
|
||||
|
||||
Reference in New Issue
Block a user