forked from mtusi2026/mtusi2026lab2
Implement lab2 PostgreSQL messenger, sessions, SQL research and defense guide
This commit is contained in:
+8
-10
@@ -1,11 +1,9 @@
|
||||
# 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
|
||||
# Host HTTP port; API listens on 8080 inside its container.
|
||||
APP_PORT=8082
|
||||
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
|
||||
# Generated by make bootstrap, mounted through Compose secrets.
|
||||
# The actual API environment is declared in compose.yaml:
|
||||
# DATABASE_URL_FILE=/run/secrets/database_url
|
||||
# CACHE_URL_FILE=/run/secrets/cache_url
|
||||
# CURSOR_KEY_FILE=/run/secrets/cursor_key
|
||||
# SESSION_STORE=postgres (one authoritative session store, no runtime switch)
|
||||
|
||||
Reference in New Issue
Block a user