Files
mtusi2026lab3/.env.example
T

24 lines
778 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
APP_DRAIN_SECONDS=3
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
REVOCATION_SYNC_SECONDS=1
API_REPLICAS=2
IDEMPOTENCY_TTL_SECONDS=86400
PASSWORD_HASH_CONCURRENCY=4
DB_POOL_MIN=1
DB_POOL_MAX=10
DB_POOL_TIMEOUT_SECONDS=2
DB_STATEMENT_TIMEOUT_MS=3000
DB_REQUEST_TIMEOUT_SECONDS=4