Files
work-queue-api/app/config.py
Steve W fbc88bb62b
Some checks failed
ci / build-test-push (push) Failing after 1m42s
feat: rebuild work queue api with fastapi and postgres
2026-04-11 19:24:52 +00:00

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()