from pydantic_settings import BaseSettings from typing import Optional class Settings(BaseSettings): DATABASE_URL: str = "postgresql://servesync:servesync@db:5432/servesync" REDIS_URL: str = "redis://redis:6379" SECRET_KEY: str = "servesync-demo-secret-key-2024" DEBUG: bool = True class Config: env_file = ".env" settings = Settings()