forked from mtusi2026/mtusi2026lab4
18 lines
598 B
Bash
18 lines
598 B
Bash
# Copy to .env and choose local credentials. Never commit .env.
|
|
APP_PORT=8080
|
|
POSTGRES_DB=messenger
|
|
POSTGRES_USER=messenger
|
|
POSTGRES_PASSWORD=replace-with-local-password
|
|
SESSION_TTL_SECONDS=3600
|
|
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
|
|
MAX_UPLOAD_BYTES=10485760
|
|
MAX_IMAGE_PIXELS=40000000
|
|
# Compose sets internal PostgreSQL, Redis and S3 addresses.
|
|
# S3 bucket: messenger-attachments. Root credentials go only to s3/s3-init.
|