# 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 LOG_LEVEL=info SESSION_TTL_SECONDS=3600 # Local synthetic database. Use a password without URL reserved characters. # Compose injects DATABASE_URL into the API from these three values. # The password below is a placeholder: change it in the untracked .env. POSTGRES_USER=messenger POSTGRES_PASSWORD=replace-with-a-local-password POSTGRES_DB=messenger # Optional. When set, the API reads the URL from this file instead of DATABASE_URL. # DATABASE_URL_FILE=/run/secrets/database_url # Optional on 3, required use on 4 in lab2; Redis OR Valkey. # PostgreSQL stores the session. Redis caches the lookup and does not keep its own volume. SESSION_STORE=postgres # Compose injects REDIS_URL. When set, this file wins and is not logged. # CACHE_URL_FILE=/run/secrets/cache_url