@mytec: 1.1iter ready for testing
This commit is contained in:
13
backend/app/core/config.py
Normal file
13
backend/app/core/config.py
Normal file
@@ -0,0 +1,13 @@
|
||||
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()
|
||||
Reference in New Issue
Block a user