26 lines
812 B
Python
26 lines
812 B
Python
|
|
from pydantic_settings import BaseSettings
|
||
|
|
|
||
|
|
|
||
|
|
class Settings(BaseSettings):
|
||
|
|
DATABASE_URL: str = "postgresql://root@localhost:5432/focusapp"
|
||
|
|
JWT_SECRET: str = "change-me"
|
||
|
|
JWT_ALGORITHM: str = "HS256"
|
||
|
|
JWT_ACCESS_EXPIRE_MINUTES: int = 60
|
||
|
|
JWT_REFRESH_EXPIRE_DAYS: int = 30
|
||
|
|
ANTHROPIC_API_KEY: str = ""
|
||
|
|
GEMINI_API_KEY: str = ""
|
||
|
|
HEX_API_TOKEN: str = ""
|
||
|
|
HEX_NB_DISTRACTIONS: str = ""
|
||
|
|
HEX_NB_FOCUS_TRENDS: str = ""
|
||
|
|
HEX_NB_WEEKLY_REPORT: str = ""
|
||
|
|
APPLE_BUNDLE_ID: str = "com.adipu.LockInBroMobile"
|
||
|
|
APNS_KEY_ID: str = ""
|
||
|
|
APNS_TEAM_ID: str = ""
|
||
|
|
APNS_P8_PATH: str = "" # path to the .p8 file on disk
|
||
|
|
APNS_SANDBOX: bool = False # True for dev/TestFlight, False for App Store
|
||
|
|
|
||
|
|
model_config = {"env_file": ".env", "extra": "ignore"}
|
||
|
|
|
||
|
|
|
||
|
|
settings = Settings()
|