Files
mtusi2026lab4/.env.example
T

24 lines
905 B
Bash

# Copy to .env for your LOCAL synthetic test environment; never commit .env.
# These are logical interface suggestions; map actual framework names in REPORT.md.
APP_HOST=0.0.0.0
APP_PORT=8080
APP_ENV=lab
SESSION_TTL_SECONDS=3600
# Values below are local synthetic-stack configuration. Replace placeholders in .env.
POSTGRES_USER=messenger
POSTGRES_PASSWORD=replace-db-password-with-random-value
POSTGRES_DB=messenger
MINIO_ROOT_USER=minio-admin
MINIO_ROOT_PASSWORD=replace-minio-root-password-with-random-value
S3_ENDPOINT=http://minio:9000
S3_REGION=us-east-1
S3_BUCKET=messenger-attachments
S3_ACCESS_KEY=messenger-api
S3_SECRET_KEY=replace-s3-secret-with-random-value
MINIO_ROOT_USER=minio-admin
MINIO_ROOT_PASSWORD=replace-with-a-random-32-character-value
S3_ACCESS_KEY=messenger-api
S3_SECRET_KEY=replace-with-a-different-random-32-character-value
MAX_UPLOAD_BYTES=10485760
MAX_IMAGE_PIXELS=40000000