forked from mtusi2026/mtusi2026lab4
21 lines
637 B
Bash
21 lines
637 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
|
|
|
|
# Shared PostgreSQL
|
|
POSTGRES_USER=messenger
|
|
POSTGRES_PASSWORD=replace-with-local-synthetic-password
|
|
POSTGRES_DB=messenger
|
|
DATABASE_URL=postgresql://messenger:replace-with-local-synthetic-password@db:5432/messenger
|
|
|
|
# Private S3 bucket (MinIO) shared by both API replicas
|
|
S3_BUCKET=messenger
|
|
S3_ACCESS_KEY=messenger
|
|
S3_SECRET_KEY=replace-with-local-synthetic-s3-secret
|
|
|
|
# Lab4: two API replicas behind the LB; bytes are NOT stored locally on API.
|
|
API_REPLICAS=2
|
|
IDEMPOTENCY_TTL_SECONDS=86400
|