Add third lab code

This commit is contained in:
2026-10-24 01:03:18 +03:00
parent ec540a1a72
commit 4c7a796795
41 changed files with 1581 additions and 0 deletions
+9
View File
@@ -4,6 +4,15 @@ APP_HOST=0.0.0.0
APP_PORT=8080
APP_ENV=lab
SESSION_TTL_SECONDS=3600
# Settings used by the inherited lab3 application and compose.yaml.
POSTGRES_DB=messenger
POSTGRES_USER=messenger
POSTGRES_PASSWORD=replace-with-local-password
CACHE_TTL_SECONDS=30
MAX_REQUEST_BYTES=65536
MAX_INFLIGHT=32
# Compose sets POSTGRES_HOST=postgres and REDIS_URL=redis://redis:6379/0.
# S3 settings below belong to the next implementation stage.
# 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: