This commit is contained in:
2025-12-18 21:13:49 +03:00
parent 84b934036b
commit 030af7ca83
45 changed files with 3106 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
from pydantic_settings import BaseSettings
class Settings(BaseSettings):
database_url: str = "postgresql://postgres:postgres@localhost:5432/transport"
# Event detection settings
long_stop_minutes: int = 5
overspeed_limit: float = 60.0 # km/h
connection_lost_minutes: int = 5
class Config:
env_file = ".env"
settings = Settings()