mirror of
https://github.com/flibusta-apps/meilie_updater.git
synced 2025-12-06 07:05:37 +01:00
22 lines
340 B
Python
22 lines
340 B
Python
from pydantic import BaseSettings
|
|
|
|
|
|
class EnvConfig(BaseSettings):
|
|
API_KEY: str
|
|
|
|
POSTGRES_DB_NAME: str
|
|
POSTGRES_HOST: str
|
|
POSTGRES_PORT: int
|
|
POSTGRES_USER: str
|
|
POSTGRES_PASSWORD: str
|
|
|
|
REDIS_HOST: str
|
|
REDIS_PORT: int
|
|
REDIS_DB: int
|
|
|
|
MEILI_HOST: str
|
|
MEILI_MASTER_KEY: str
|
|
|
|
|
|
env_config = EnvConfig()
|