forked from mtusi2026/mtusi2026lab2
ЛР 2: PostgreSQL и постоянные сессии — Гавриленко БПИ2303, на 3
This commit is contained in:
+5
-10
@@ -1,11 +1,6 @@
|
||||
# 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
|
||||
# scripts/setup.sh creates .env and local secret files without printing credentials.
|
||||
HOST_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
|
||||
# compose.yaml binds APP_HOST=0.0.0.0 and APP_PORT=8080 inside the API container.
|
||||
# DATABASE_URL_FILE=/run/secrets/database_url (Compose secret)
|
||||
# PostgreSQL stores all state including sessions; Redis/Valkey is not used on 3.
|
||||
|
||||
Reference in New Issue
Block a user