21 lines
546 B
Python
21 lines
546 B
Python
from pydantic_settings import BaseSettings, SettingsConfigDict
|
|
|
|
|
|
class Settings(BaseSettings):
|
|
aidoit_env: str = "development"
|
|
aidoit_admin_token: str = "replace-me"
|
|
database_url: str = "sqlite:///./aidoit.db"
|
|
redis_url: str = "redis://localhost:6379/0"
|
|
web_origin: str = "http://localhost:3000"
|
|
msp_origin: str = "http://localhost:3001"
|
|
|
|
model_config = SettingsConfigDict(
|
|
env_file=".env",
|
|
env_file_encoding="utf-8",
|
|
case_sensitive=False,
|
|
extra="ignore",
|
|
)
|
|
|
|
|
|
settings = Settings()
|