This commit is contained in:
2026-10-23 14:47:53 +03:00
parent 65003b6119
commit 84fc48d315
29 changed files with 1940 additions and 24 deletions
+4 -1
View File
@@ -7,5 +7,8 @@ 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
SESSION_STORE=redis
# Local compose uses DATABASE_URL/CACHE_URL directly; file paths optional in production.
DATABASE_URL=postgresql://messenger:messenger_dev_only@localhost:5432/messenger
CACHE_URL=redis://localhost:6379/0
CACHE_URL_FILE=/run/secrets/cache_url