integrate/app/settings.py

19 lines
352 B
Python
Raw Normal View History

2022-03-04 18:51:33 +01:00
from pydantic import BaseSettings, Field
2022-04-22 18:34:48 +02:00
class WekanSettings(BaseSettings):
baseurl: str
user: str
password: str
2022-03-04 18:51:33 +01:00
class Config:
env_file = '.env'
2022-04-22 18:34:48 +02:00
env_prefix = 'WEKAN_'
class AuthentikSettings(BaseSettings):
baseurl: str
token: str
class Config:
env_file = '.env'
env_prefix = 'AUTHENTIK_'