выполнение лр2 на 4

This commit is contained in:
Ilya
2026-10-07 18:28:12 +03:00
parent 65003b6119
commit e914e384fc
32 changed files with 2054 additions and 15 deletions
+6
View File
@@ -9,3 +9,9 @@ DATABASE_URL_FILE=/run/secrets/database_url
# Optional on 3, required use on 4 in lab2; Redis OR Valkey:
SESSION_STORE=postgres
CACHE_URL_FILE=/run/secrets/cache_url
# --- Actual lab2 implementation (see REPORT.md) ---
# APP_PORT is also the host port published on 127.0.0.1 by compose.yaml.
# SESSION_STORE=postgres: sessions live in PostgreSQL; Valkey (CACHE_URL_FILE) caches lookups.
SESSION_CACHE_MAX_SECONDS=300
DB_POOL_MAX=10
SHORT_TTL_PORT=8081