# 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. DATABASE_URL_FILE=/run/secrets/database_url # Optional on 3, required use on 4 in lab2; Redis OR Valkey: SESSION_STORE=postgres CACHE_URL_FILE=/run/secrets/cache_url # This implementation maps the logical settings above to Spring Boot variables. # Copy this file to .env and replace the synthetic local password before a shared demo. POSTGRES_USER=messenger POSTGRES_PASSWORD=messenger POSTGRES_DB=messenger SPRING_DATASOURCE_URL=jdbc:postgresql://localhost:5432/messenger SPRING_DATASOURCE_USERNAME=messenger SPRING_DATASOURCE_PASSWORD=messenger SPRING_DATA_REDIS_HOST=localhost SPRING_DATA_REDIS_PORT=6379