Commit Graph
2 Commits
Author SHA1 Message Date
ElebobaandClaude Opus 5.5 526eb56c82 feat(bot): Telegram через прокси (TELEGRAM_PROXY_URL); лимит памяти бота 384m
С сервера Vobot api.telegram.org недоступен (ни IPv4, ни IPv6) — как и meditron, ходим
через прокси; aiohttp-socks для http/socks. Бот в простое ~190 МБ — 256m мало.

Refs #12

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 00:21:36 +03:00
ElebobaandClaude Opus 5.5 8dfcef94c9 feat(infra): каркас проекта — uv, ruff, mypy, pytest, Docker Compose
- pyproject: Python 3.12, зависимости ADR-009, ruff/mypy strict/pytest/coverage
- app/: точка входа-заглушка с graceful shutdown по SIGTERM
- Dockerfile: multi-stage, uv, non-root (uid 10001), git+ssh для коммитов (#9);
  apt по HTTPS — в некоторых сетях обычный HTTP к deb.debian.org заблокирован
- docker-compose: bot + postgres 16, healthcheck, лимиты памяти, ротация логов
- Makefile: install/lint/fmt/test/cov/up/down/logs/ps; .env.example

Refs #3

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 23:14:53 +03:00