Merge pull request 'feat: Merge the mock support and configuration optimization from the Nicolas_service_hub branch' (#13) from Nicolas_service_hub into dev
Reviewed-on: freeleaps/freeleaps-service-hub#13 Reviewed-by: jingyao1991 <jingyao1991@noreply.gitea.freeleaps.mathmast.com>
This commit is contained in:
commit
96f2f52c68
@ -1,10 +1,11 @@
|
||||
import os
|
||||
from pydantic_settings import BaseSettings
|
||||
|
||||
|
||||
class AppSettings(BaseSettings):
|
||||
NAME: str = "authentication"
|
||||
APP_NAME: str = NAME
|
||||
APP_ENV: str = "alpha"
|
||||
APP_ENV: str = os.environ.get("APP_ENV", "alpha")
|
||||
|
||||
METRICS_ENABLED: bool = False
|
||||
PROBES_ENABLED: bool = True
|
||||
|
||||
Loading…
Reference in New Issue
Block a user