forked from mtusi2026/mtusi2026lab3
chore: перенос решения lab2 (src, миграции, student-tests, Dockerfile, compose, lock) без изменений
Исходная точка lab3: код из solution/bvt2302-bodanyuk лабы 2, коммит ef44e48 (PR mtusi2026/mtusi2026lab2#42 принят). README, COURSE, contracts/ и tests/ преподавателя не тронуты; к Makefile дописан студенческий раздел lab2, .env.example — версия lab2. Исследование трека 2 lab2 (bench/track2) не переносилось. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
0ab3a341aa
commit
4f6cfda37a
+13
-3
@@ -5,9 +5,19 @@ APP_PORT=8080
|
||||
APP_ENV=lab
|
||||
SESSION_TTL_SECONDS=3600
|
||||
# Choose credentials locally. File paths contain no secret values.
|
||||
# The files are created by `python scripts/init_secrets.py` and mounted by compose as secrets.
|
||||
DATABASE_URL_FILE=/run/secrets/database_url
|
||||
# Optional on 3, required use on 4 in lab2; Redis OR Valkey:
|
||||
SESSION_STORE=postgres
|
||||
# valkey = sessions live only in Valkey (AOF, appendfsync always); postgres = table `sessions`.
|
||||
SESSION_STORE=valkey
|
||||
CACHE_URL_FILE=/run/secrets/cache_url
|
||||
API_REPLICAS=2
|
||||
IDEMPOTENCY_TTL_SECONDS=86400
|
||||
# Additional settings of this implementation (defaults shown; all optional):
|
||||
LOG_LEVEL=info
|
||||
DB_POOL_MIN=1
|
||||
DB_POOL_MAX=10
|
||||
DB_TIMEOUT_SECONDS=3
|
||||
CACHE_TIMEOUT_SECONDS=0.5
|
||||
PASSWORD_HASH_CONCURRENCY=2
|
||||
DOCS_ENABLED=true
|
||||
# Host port of the API (compose publishes it on 127.0.0.1 only)
|
||||
APP_PUBLISH_PORT=8080
|
||||
|
||||
Reference in New Issue
Block a user