forked from mtusi2026/mtusi2026lab4
feat: port lab3 implementation
This commit is contained in:
+13
-6
@@ -1,16 +1,23 @@
|
||||
# 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
|
||||
MAX_INFLIGHT_REQUESTS=0
|
||||
SESSION_TTL_SECONDS=3600
|
||||
# Choose credentials locally. File paths contain no secret values.
|
||||
|
||||
LOG_LEVEL=INFO
|
||||
|
||||
DATABASE_URL_FILE=/run/secrets/database_url
|
||||
# Optional on 3, required use on 4 in lab2; Redis OR Valkey:
|
||||
SESSION_STORE=postgres
|
||||
|
||||
# Session store: postgres | redis (redis requires CACHE_URL_FILE)
|
||||
SESSION_STORE=redis
|
||||
CACHE_URL_FILE=/run/secrets/cache_url
|
||||
|
||||
API_REPLICAS=2
|
||||
IDEMPOTENCY_TTL_SECONDS=86400
|
||||
|
||||
API_CPUS=0.5
|
||||
API_MEM=256M
|
||||
LB_CPUS=0.5
|
||||
|
||||
S3_ENDPOINT=http://s3:9000
|
||||
S3_REGION=us-east-1
|
||||
S3_BUCKET=messenger-attachments
|
||||
|
||||
Reference in New Issue
Block a user