Files
mtusi2026lab3/.env.example
T

19 lines
472 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
# PostgreSQL credentials and database configuration
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_DB=messenger
DATABASE_URL=postgresql://postgres:postgres@postgres:5432/messenger
# Redis session store configuration
SESSION_STORE=redis
CACHE_URL=redis://redis:6379/0
API_REPLICAS=2
IDEMPOTENCY_TTL_SECONDS=86400