forked from mtusi2026/mtusi2026lab2
Add first lab code
This commit is contained in:
+10
-9
@@ -1,11 +1,12 @@
|
||||
# Copy to .env for your LOCAL synthetic test environment; never commit .env.
|
||||
# These are logical interface suggestions; map actual framework names in REPORT.md.
|
||||
# Used by python -m src. Docker run reads this file through --env-file.
|
||||
APP_HOST=0.0.0.0
|
||||
APP_PORT=8080
|
||||
APP_ENV=lab
|
||||
SESSION_TTL_SECONDS=3600
|
||||
# Choose credentials locally. File paths contain no secret values.
|
||||
DATABASE_URL_FILE=/run/secrets/database_url
|
||||
# Optional on 3, required use on 4 in lab2; Redis OR Valkey:
|
||||
SESSION_STORE=postgres
|
||||
CACHE_URL_FILE=/run/secrets/cache_url
|
||||
# Single-process resource limits. Text bytes are UTF-8 payload, not process RSS.
|
||||
MAX_USERS=1000
|
||||
MAX_CHATS=1000
|
||||
MAX_MESSAGES=10000
|
||||
MAX_TEXT_BYTES=16777216
|
||||
MAX_REQUEST_BYTES=65536
|
||||
MAX_INFLIGHT=32
|
||||
MESSAGE_RATE=1000
|
||||
MESSAGE_BURST=1000
|
||||
|
||||
Reference in New Issue
Block a user