Phase 1: scaffold local backend — models, schemas, routers, printer service, Docker
This commit is contained in:
15
local_backend/config.py
Normal file
15
local_backend/config.py
Normal file
@@ -0,0 +1,15 @@
|
||||
from pydantic_settings import BaseSettings
|
||||
|
||||
|
||||
class Settings(BaseSettings):
|
||||
SITE_ID: str = ""
|
||||
CLOUD_URL: str = "https://your-vps.com"
|
||||
SECRET_KEY: str = "change-me-generate-a-long-random-string"
|
||||
LICENSE_GRACE_HOURS: int = 24
|
||||
DATABASE_URL: str = "sqlite:///./pos.db"
|
||||
|
||||
class Config:
|
||||
env_file = ".env"
|
||||
|
||||
|
||||
settings = Settings()
|
||||
Reference in New Issue
Block a user