CARONTE v1.0 - Plataforma de Gestão Social
This commit is contained in:
14
backend/app/core/config.py
Normal file
14
backend/app/core/config.py
Normal file
@@ -0,0 +1,14 @@
|
||||
from pydantic_settings import BaseSettings
|
||||
|
||||
class Settings(BaseSettings):
|
||||
APP_NAME: str = "CARONTE"
|
||||
SECRET_KEY: str = "caronte-secret-key-change-in-production"
|
||||
ALGORITHM: str = "HS256"
|
||||
ACCESS_TOKEN_EXPIRE_MINUTES: int = 1440
|
||||
DATABASE_URL: str = "sqlite+aiosqlite:///./caronte.db"
|
||||
UPLOAD_DIR: str = "./uploads"
|
||||
|
||||
class Config:
|
||||
env_file = ".env"
|
||||
|
||||
settings = Settings()
|
||||
Reference in New Issue
Block a user