forked from mtusi2026/mtusi2026lab5
25 lines
718 B
Bash
25 lines
718 B
Bash
# Copy to .env for your LOCAL synthetic test environment; never commit .env.
|
|
# Compose supplies internal PostgreSQL, Redis, broker and S3 addresses.
|
|
APP_PORT=8080
|
|
SESSION_TTL_SECONDS=3600
|
|
MAX_UPLOAD_BYTES=10485760
|
|
MAX_IMAGE_PIXELS=40000000
|
|
MAX_PENDING_ATTACHMENTS=64
|
|
WORKER_CONCURRENCY=2
|
|
JOB_MAX_ATTEMPTS=5
|
|
JOB_TIMEOUT_SECONDS=60
|
|
JOB_MEMORY_MB=768
|
|
STAGING_RETENTION_SECONDS=86400
|
|
|
|
# Choose credentials locally.
|
|
POSTGRES_DB=messenger
|
|
POSTGRES_USER=messenger
|
|
POSTGRES_PASSWORD=replace-with-local-password
|
|
CACHE_TTL_SECONDS=30
|
|
MAX_REQUEST_BYTES=65536
|
|
MAX_INFLIGHT=32
|
|
MINIO_ROOT_USER=local-admin
|
|
MINIO_ROOT_PASSWORD=replace-with-admin-password
|
|
S3_ACCESS_KEY_ID=messenger-api
|
|
S3_SECRET_ACCESS_KEY=replace-with-api-password
|