forked from mtusi2026/mtusi2026lab2
[+] add project
This commit is contained in:
+4
-5
@@ -4,8 +4,7 @@ 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
|
||||
DB_POOL_MAX_SIZE=10
|
||||
# Create this ignored file locally; Docker Compose mounts it as a secret.
|
||||
# PostgreSQL is the source of truth for sessions and durable application data.
|
||||
# Redis stores a TTL-bound profile cache; PostgreSQL validates revocation/expiry.
|
||||
|
||||
Reference in New Issue
Block a user