feat(auth): короткий access, refresh и 7-дневная sliding-сессия

This commit is contained in:
2026-10-28 13:26:22 +03:00
parent 08e5a62c0e
commit 3adfba9bec
29 changed files with 1261 additions and 14 deletions

View File

@@ -45,6 +45,8 @@ services:
environment:
<<: [*db-env, *internal-env]
LMS_DB_URL: jdbc:postgresql://postgres:5432/${LMS_DB_NAME:-lms}?currentSchema=identity
LMS_ACCESS_TOKEN_TTL: ${LMS_ACCESS_TOKEN_TTL:-15m}
LMS_REFRESH_TOKEN_TTL: ${LMS_REFRESH_TOKEN_TTL:-7d}
depends_on:
postgres: { condition: service_healthy }
networks: [lms]
@@ -105,6 +107,7 @@ services:
environment:
LMS_GATEWAY_URL: http://gateway:8080
SERVER_PORT: 8090
LMS_SESSION_TIMEOUT: ${LMS_SESSION_TIMEOUT:-7d}
ports:
- "127.0.0.1:${LMS_WEB_PORT:-8090}:8090"
depends_on: