Files

15 lines
505 B
Bash

# Copy to .env for your LOCAL synthetic test environment; never commit .env.
APP_HOST=0.0.0.0
APP_PORT=8080
APP_ENV=lab
SESSION_TTL_SECONDS=3600
POSTGRES_USER=messenger
POSTGRES_DB=messenger
# Replace with a generated local-only value (hex is safe to embed in DATABASE_URL).
POSTGRES_PASSWORD=replace-with-local-password
DB_POOL_MAX_SIZE=16
DB_POOL_TIMEOUT_SECONDS=5
DB_STATEMENT_TIMEOUT_MS=5000
DB_LOCK_TIMEOUT_MS=2000
# Compose injects CACHE_URL for the API; Redis is a disposable session lookup cache.