Files
rfcp/backend/app/core/config.py

14 lines
280 B
Python

from pydantic_settings import BaseSettings
class Settings(BaseSettings):
MONGODB_URL: str = "mongodb://localhost:27017"
DATABASE_NAME: str = "rfcp"
TERRAIN_DATA_DIR: str = "/opt/rfcp/data/terrain"
class Config:
env_file = ".env"
settings = Settings()