Set up the logging environment for authentication
This commit is contained in:
parent
0107feabb9
commit
24fe043fc3
@ -1,10 +1,11 @@
|
|||||||
|
import os
|
||||||
from pydantic_settings import BaseSettings
|
from pydantic_settings import BaseSettings
|
||||||
|
|
||||||
|
|
||||||
class AppSettings(BaseSettings):
|
class AppSettings(BaseSettings):
|
||||||
NAME: str = "authentication"
|
NAME: str = "authentication"
|
||||||
APP_NAME: str = NAME
|
APP_NAME: str = NAME
|
||||||
APP_ENV: str = "alpha"
|
APP_ENV: str = os.environ.get("APP_ENV", "alpha")
|
||||||
|
|
||||||
METRICS_ENABLED: bool = False
|
METRICS_ENABLED: bool = False
|
||||||
PROBES_ENABLED: bool = True
|
PROBES_ENABLED: bool = True
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user