12 lines
299 B
Python
12 lines
299 B
Python
from pydantic_settings import BaseSettings, SettingsConfigDict
|
|
|
|
|
|
class Settings(BaseSettings):
|
|
database_url: str = "postgresql://postgres:password@localhost:5432/work_queue"
|
|
port: int = 8080
|
|
|
|
model_config = SettingsConfigDict(env_prefix="", case_sensitive=False)
|
|
|
|
|
|
settings = Settings()
|