# 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 SESSION_TTL_SECONDS=3600 # Choose credentials locally. File paths contain no secret values. # scripts/bootstrap.sh writes secrets/ and .env; do not commit them. DATABASE_URL_FILE=/run/secrets/database_url # Direct URLs override the files. The API container uses the files above. # DATABASE_URL=postgresql+asyncpg://USER:PASSWORD@HOST:5432/messenger # REDIS_URL=redis://HOST:6379/0 SESSION_STORE=redis CACHE_URL_FILE=/run/secrets/cache_url DB_POOL_SIZE=10 DB_MAX_OVERFLOW=10 DB_POOL_TIMEOUT_SECONDS=5 DB_CONNECT_TIMEOUT_SECONDS=2 DB_COMMAND_TIMEOUT_SECONDS=5 REDIS_SOCKET_TIMEOUT_SECONDS=1 REDIS_MAX_CONNECTIONS=50