Files
mtusi2026lab2/.env.example
T

18 lines
630 B
Bash

# 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
APP_ENV=lab
APP_SHUTDOWN_TIMEOUT=5
SESSION_TTL_SECONDS=3600
# Credentials are generated locally by: python scripts/init_secrets.py
# File paths contain no secret values.
DATABASE_URL_FILE=/run/secrets/database_url
# Sessions: PostgreSQL is the source of truth, Valkey is a read-through cache.
CACHE_URL=redis://valkey:6379/0
SESSION_CACHE_TTL_SECONDS=60
DB_POOL_MIN=1
DB_POOL_MAX=10
DB_POOL_TIMEOUT_SECONDS=2
DB_STATEMENT_TIMEOUT_MS=5000