Deploy durable tenant authority runtime
This commit is contained in:
parent
8bd0741104
commit
1e44cace1f
6 changed files with 210 additions and 2 deletions
|
|
@ -10,6 +10,7 @@ class Settings:
|
|||
flex_auth_timeout_seconds: float
|
||||
host: str
|
||||
port: int
|
||||
database_path: str | None = None
|
||||
|
||||
@classmethod
|
||||
def from_env(cls) -> "Settings":
|
||||
|
|
@ -17,5 +18,6 @@ class Settings:
|
|||
flex_auth_base_url=os.getenv("TENANT_ENGINE_FLEX_AUTH_URL") or None,
|
||||
flex_auth_timeout_seconds=float(os.getenv("TENANT_ENGINE_FLEX_AUTH_TIMEOUT_SECONDS", "3")),
|
||||
host=os.getenv("TENANT_ENGINE_HOST", "127.0.0.1"),
|
||||
port=int(os.getenv("TENANT_ENGINE_PORT", "8090")),
|
||||
port=int(os.getenv("TENANT_ENGINE_HTTP_PORT", "8090")),
|
||||
database_path=os.getenv("TENANT_ENGINE_DATABASE_PATH") or None,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue