Files
mtusi2026lab3/.env.example
2026-11-07 10:41:21 +03:00

15 lines
579 B
Bash

# scripts/bootstrap.sh creates ignored .env.lab3 with random synthetic credentials.
# This example documents actual Compose inputs; it contains no live secrets.
POSTGRES_PASSWORD=replace-with-local-postgres-password
REDIS_PASSWORD=replace-with-local-redis-password
HOST_PORT=18080
API_REPLICAS=2
API_CPUS=1
API_MEMORY=512m
POSTGRES_MAX_CONNECTIONS=8
APPLICATION_LOG_LEVEL=warn
SESSION_TTL_SECONDS=3600
API_IMAGE=mtusi-messenger:lab3
# Session TTL defaults to 3600; use >=300 for smoke/persistence.
# Message idempotency retention is fixed at 24 hours; API never runs migrations.