[+] Completed lab 2

This commit is contained in:
Антон Архипов
2026-11-16 16:01:24 +03:00
parent 65003b6119
commit f77e500ccf
46 changed files with 4532 additions and 45 deletions
+6 -9
View File
@@ -1,11 +1,8 @@
# 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
# Run scripts/init-env.sh to create local credentials and .env.
APP_BIND_PORT=8080
APP_ENV=lab
LOG_LEVEL=info
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:
SESSION_STORE=postgres
CACHE_URL_FILE=/run/secrets/cache_url
POSTGRES_USER=messenger
POSTGRES_DB=messenger
POSTGRES_PASSWORD=