12 lines
318 B
Python
12 lines
318 B
Python
|
|
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"
|
||
|
|
|
||
|
|
|
||
|
|
settings = Settings()
|