Initial commit
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import os
|
||||
from pydantic_settings import BaseSettings
|
||||
|
||||
|
||||
class Settings(BaseSettings):
|
||||
DATABASE_URL: str = "sqlite+aiosqlite:///./data/sleep.db"
|
||||
CORS_ORIGINS: str = "http://localhost:5173"
|
||||
LOG_LEVEL: str = "info"
|
||||
|
||||
model_config = {"env_file": ".env", "extra": "ignore"}
|
||||
|
||||
|
||||
settings = Settings()
|
||||
Reference in New Issue
Block a user