Files
dcalc/backend/config/main.py
T
2026-01-20 15:21:08 +08:00

17 lines
354 B
Python

from pydantic_settings import BaseSettings
class Config(BaseSettings):
DEBUG_MODE: bool = True
WORKERS: int = 1
PORT:int = 27173
MCPPORT: int = 27174
REDIS_URL: str = 'redis://localhost:6379/1'
COLG_TOKEN: str = ''
class Config:
env_file = ('config/.env', 'config/.env.dev', 'config/.env.prod')
config = Config()