ЛР2: PostgreSQL, сессии и Valkey на оценку 4

This commit is contained in:
gera
2026-10-16 00:50:33 +03:00
parent 65003b6119
commit f612fbef77
32 changed files with 2339 additions and 21 deletions
+2 -4
View File
@@ -1,11 +1,9 @@
# Copy to .env for your LOCAL synthetic test environment; never commit .env.
# These are logical interface suggestions; map actual framework names in REPORT.md.
APP_HOST=0.0.0.0
APP_PORT=8080
APP_ENV=lab
SESSION_TTL_SECONDS=3600
# Choose credentials locally. File paths contain no secret values.
DATABASE_URL_FILE=/run/secrets/database_url
# Optional on 3, required use on 4 in lab2; Redis OR Valkey:
SHUTDOWN_TIMEOUT_SECONDS=5
SESSION_STORE=postgres
DATABASE_URL_FILE=/run/secrets/database_url
CACHE_URL_FILE=/run/secrets/cache_url