# Copy to .env for your LOCAL synthetic test environment; never commit .env. # The values below are placeholders, not production secrets. APP_HOST=0.0.0.0 APP_PORT=8080 # Host port for the load balancer; the test BASE_URL must match it. LAB4_PORT=8080 APP_ENV=lab SESSION_TTL_SECONDS=3600 IDEMPOTENCY_TTL_SECONDS=86400 API_REPLICAS=2 POSTGRES_USER=messenger POSTGRES_PASSWORD=change-me-local-postgres-password POSTGRES_DB=messenger # SeaweedFS administrative identity is used only by the one-shot bootstrap. S3_ADMIN_ACCESS_KEY_ID=seaweedfs-admin S3_ADMIN_SECRET_ACCESS_KEY=change-me-local-seaweedfs-admin-password # Separate S3 identity used by the API. Its SeaweedFS actions are Read/Write/List # only; bucket creation and administration use the bootstrap identity. S3_ENDPOINT=http://seaweedfs:8333 S3_REGION=us-east-1 S3_BUCKET=messenger-attachments S3_ACCESS_KEY_ID=messenger-api S3_SECRET_ACCESS_KEY=change-me-local-api-secret # Must be identical for all API replicas so pagination cursors work across the LB. CURSOR_SECRET=change-me-local-cursor-secret MAX_UPLOAD_BYTES=10485760 MAX_IMAGE_PIXELS=40000000 # The application also accepts *_FILE variants (for example DATABASE_URL_FILE # and S3_SECRET_ACCESS_KEY_FILE) when running outside Compose. # DATABASE_URL=postgresql://messenger:change-me-local-postgres-password@localhost:5432/messenger