Initial commit: migrate badge-admin from /tmp to /home/gpsystem
via HAPI (https://hapi.run) Co-Authored-By: HAPI <noreply@hapi.run>
This commit is contained in:
14
app/config.py
Normal file
14
app/config.py
Normal file
@@ -0,0 +1,14 @@
|
||||
from pydantic_settings import BaseSettings
|
||||
|
||||
|
||||
class Settings(BaseSettings):
|
||||
APP_NAME: str = "KKS Badge Management System"
|
||||
DATABASE_URL: str = "sqlite+aiosqlite:///./badge_admin.db"
|
||||
TCP_HOST: str = "0.0.0.0"
|
||||
TCP_PORT: int = 5000
|
||||
API_HOST: str = "0.0.0.0"
|
||||
API_PORT: int = 8088
|
||||
DEBUG: bool = True
|
||||
|
||||
|
||||
settings = Settings()
|
||||
Reference in New Issue
Block a user