2026-07-09 18:31:29 +00:00
|
|
|
from pydantic_settings import BaseSettings, SettingsConfigDict
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class Settings(BaseSettings):
|
|
|
|
|
model_config = SettingsConfigDict(env_file=".env", extra="ignore")
|
|
|
|
|
|
|
|
|
|
database_url: str = "postgresql+psycopg://guidecity:guidecity@localhost:5432/guidecity"
|
|
|
|
|
api_v1_prefix: str = "/api/v1"
|
2026-07-09 20:10:10 +00:00
|
|
|
log_level: str = "INFO"
|
2026-07-09 18:31:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
settings = Settings()
|