feat: project scaffold (FastAPI backend, React frontend, aiogram bot, docker-compose, CI/CD)
This commit is contained in:
1 parent
066deaca47
commit
71460ab56a
37 files changed
+936
No files matched your search
@@ -0,0 +1,14 @@
|
||||
"""Конфигурация бота."""
|
||||
from pydantic_settings import BaseSettings, SettingsConfigDict
|
||||
|
||||
|
||||
class Settings(BaseSettings):
|
||||
model_config = SettingsConfigDict(env_file=".env", extra="ignore")
|
||||
|
||||
telegram_bot_token: str = ""
|
||||
max_bot_token: str = ""
|
||||
api_base_url: str = "http://api:8000/api/v1"
|
||||
bot_service_token: str = ""
|
||||
|
||||
|
||||
settings = Settings()
|
||||
Reference in new issue
Block a user