19 lines
352 B
Python
19 lines
352 B
Python
from pydantic import BaseSettings, Field
|
|
|
|
|
|
class WekanSettings(BaseSettings):
|
|
baseurl: str
|
|
user: str
|
|
password: str
|
|
|
|
class Config:
|
|
env_file = '.env'
|
|
env_prefix = 'WEKAN_'
|
|
|
|
class AuthentikSettings(BaseSettings):
|
|
baseurl: str
|
|
token: str
|
|
|
|
class Config:
|
|
env_file = '.env'
|
|
env_prefix = 'AUTHENTIK_' |