выполненная лаб2

This commit is contained in:
2026-10-22 17:11:47 +03:00
parent 65003b6119
commit 508340638d
39 changed files with 3547 additions and 33 deletions
+3 -4
View File
@@ -1,11 +1,10 @@
# Copy to .env for your LOCAL synthetic test environment; never commit .env.
# These are logical interface suggestions; map actual framework names in REPORT.md.
# python3 scripts/bootstrap.py creates .env and local secret files.
# Compose exposes the API only on 127.0.0.1:8080; Gunicorn binds 0.0.0.0:8080 inside.
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:
# PostgreSQL is the session source of truth; Redis caches immutable public users.
SESSION_STORE=postgres
CACHE_URL_FILE=/run/secrets/cache_url