forked from mtusi2026/mtusi2026lab2
- схема и миграции (migrations/0001_init.sql, python -m messenger.migrate); - регистрация с паролем (Argon2id), вход по Basic, opaque Bearer, logout, expiry; - сессии: SESSION_STORE=valkey (AOF, appendfsync always) или postgres; - пул соединений, statement/lock timeout и клиентский дедлайн: отказ БД = 503; - keyset-пагинация по индексу (chat_id, created_at, id), два запроса без OR; - compose.yaml с закреплёнными образами, secrets, restart.sh. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
33 lines
360 B
Plaintext
33 lines
360 B
Plaintext
.git
|
|
.github
|
|
.env
|
|
.env.*
|
|
!.env.example
|
|
secrets
|
|
certs
|
|
volumes
|
|
data
|
|
backups
|
|
*.key
|
|
*.pem
|
|
*.p12
|
|
*.pfx
|
|
*.jks
|
|
.venv
|
|
__pycache__
|
|
node_modules
|
|
evidence
|
|
.DS_Store
|
|
# Not needed in the image (only requirements.txt, src/, migrations/ and the contract are copied)
|
|
.pytest_cache
|
|
student-tests
|
|
bench
|
|
tests
|
|
contracts/*
|
|
!contracts/openapi.json
|
|
examples
|
|
scripts
|
|
infra
|
|
docs
|
|
*.md
|