Make backend port configurable via .env and update related configurations

This commit is contained in:
2026-05-31 11:26:06 +08:00
parent 00ba4530bf
commit 75ba2e73d8
7 changed files with 29 additions and 9 deletions
+1
View File
@@ -11,6 +11,7 @@ class Settings(BaseSettings):
app_env: str = "development"
app_debug: bool = False
app_version: str = "0.1.0"
app_port: int = Field(8000, ge=1, le=65535)
datamall_base_url: str = "https://datamall2.mytransport.sg/ltaodataservice"
datamall_api_key: str = Field(..., description="LTA DataMall AccountKey")