forked from mtusi2026/mtusi2026lab2
16 lines
593 B
Bash
16 lines
593 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
|
|
SESSION_TTL_SECONDS=3600
|
|
# Choose credentials locally. File paths contain no secret values.
|
|
DATABASE_NAME=messenger
|
|
DATABASE_USER=messenger
|
|
DATABASE_PASSWORD=change-me-for-local-development
|
|
DATABASE_URL=jdbc:postgresql://postgres:5432/messenger
|
|
DATABASE_POOL_SIZE=10
|
|
# Optional on 3, required use on 4 in lab2; Redis OR Valkey:
|
|
SESSION_STORE=postgres
|
|
CACHE_URL_FILE=/run/secrets/cache_url
|