2 lab
Application / application (pull_request) Canceled after 0s
Skeleton contracts / contracts (pull_request) Canceled after 0s

This commit is contained in:
Quzzqq
2026-10-23 16:31:42 +03:00
parent 65003b6119
commit cbb92b7aef
36 changed files with 3268 additions and 23 deletions
+11 -7
View File
@@ -1,11 +1,15 @@
# Copy to .env for your LOCAL synthetic test environment; never commit .env.
# These are logical interface suggestions; map actual framework names in REPORT.md.
# Copy to .env for the local synthetic stand. Do not commit .env.
# Passwords below are local lab placeholders, not production secrets.
COMPOSE_PROJECT_NAME=mtusilab2
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:
SESSION_STORE=postgres
CACHE_URL_FILE=/run/secrets/cache_url
SESSION_STORE=redis
POSTGRES_USER=messenger
POSTGRES_PASSWORD=labpgpass
POSTGRES_DB=messenger
REDIS_PASSWORD=labredispass
DATABASE_URL=postgres://messenger:labpgpass@postgres:5432/messenger?sslmode=disable
CACHE_URL=redis://:labredispass@redis:6379/0
MIGRATIONS_DIR=/migrations