You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
316 B
Python
17 lines
316 B
Python
"""Web app configuration."""
|
|
from __future__ import annotations
|
|
|
|
from pydantic_settings import BaseSettings
|
|
|
|
|
|
class WebAppSettings(BaseSettings):
|
|
host: str = "0.0.0.0"
|
|
port: int = 18080
|
|
debug: bool = False
|
|
reload: bool = False
|
|
|
|
model_config = {"env_prefix": "WEB_"}
|
|
|
|
|
|
settings = WebAppSettings()
|